https://github.com/mishoo/UglifyJS
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
Tip revision: d72c1d1293487b7e775d0a248f8c9c848b01502c authored by Mihai Bazon on 13 September 2012, 12:20:57 UTC
few more optimizations:
Tip revision: d72c1d1
File Mode Size
bin
lib
test
tmp
tools
README.md -rw-r--r-- 12.7 KB

README.md

back to top