Delete ternary, call compile expression once.