Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-29 | Conditional/call optimization | Mihai Bazon | |
foo ? bar(x) : bar(y) ==> bar(foo ? x : y) | |||
2012-10-03 | added option for side-effect-free statements, fix test | Mihai Bazon | |
2012-10-03 | disable `hoist_vars` by default and change `comparations` to `comparisons` | Mihai Bazon | |
2012-09-17 | minor | Mihai Bazon | |
2012-09-16 | rewrite handle_if_return | Mihai Bazon | |
optimizations of if/return/continue seem to be even better now | |||
2012-09-13 | few more optimizations: | Mihai Bazon | |
- do multiple passes in tighten_body if it was changed - transform if (foo) return x; return y; ==> return foo?x:y - don't optimize !0 as true (use best_of after evaluation of constant expr) With hoist_vars off we now beat UglifyJS v1 on jQuery-1.8.1 | |||
2012-09-12 | minor | Mihai Bazon | |
2012-09-10 | more progress on the compressor (WIP) | Mihai Bazon | |
2012-09-07 | always keep declarations found in unreachable code | Mihai Bazon | |
a few more tests and some cleanups. |