SIGN IN SIGN UP

perf(minifier): avoid creation of unnecessary conditional expressions (#25931)

I started reviewing `minimize_conditional_expression` and looks like
there is alot of wasted effort there, esp, when we are re-creating
`ConditionalExpression` recursively by calling `minimize_conditional`,
for now i decided to only optimize `!==` and `!`, but folding of
`SequenceExpression` and creation of all new
`Expression::new_conditional_expression` could be removed as we should
just mutate current expression
A
Armano committed
f09c8abf38610f66eaf66aa5be6163f739f64f76
Parent: e1e7af6
Committed by GitHub <noreply@github.com> on 8/20/2026, 2:05:06 AM