Revision d72c1d1293487b7e775d0a248f8c9c848b01502c authored by Mihai Bazon on 13 September 2012, 12:20:57 UTC, committed by Mihai Bazon on 13 September 2012, 12:20:57 UTC
- 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
1 parent f5027ec
History
File Mode Size
ast.js -rw-r--r-- 20.3 KB
compress.js -rw-r--r-- 49.6 KB
output.js -rw-r--r-- 32.5 KB
parse.js -rw-r--r-- 49.5 KB
scope.js -rw-r--r-- 18.0 KB
sourcemap.js -rw-r--r-- 3.1 KB
utils.js -rw-r--r-- 5.5 KB

back to top