N
nick
I'd like to hear this group's reaction on a javascript compression
script I've been working on. It uses the LZW algorithm and base85
encoding to squeeze large scripts down to size.
Quick test...
used this: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
original size: 72173
compressed: 44782
You can test it here:
http://pressjs.googlecode.com/svn/trunk/build/test.html
Browse the source:
http://code.google.com/p/pressjs/source/browse/#svn/trunk/src
I'd love to hear what you guys think, esp. any way we could optimize
it for speed or size, or if you catch any bugs / memory leaks /
namespace pollution / stupid programming fails / etc. Thanks!
script I've been working on. It uses the LZW algorithm and base85
encoding to squeeze large scripts down to size.
Quick test...
used this: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
original size: 72173
compressed: 44782
You can test it here:
http://pressjs.googlecode.com/svn/trunk/build/test.html
Browse the source:
http://code.google.com/p/pressjs/source/browse/#svn/trunk/src
I'd love to hear what you guys think, esp. any way we could optimize
it for speed or size, or if you catch any bugs / memory leaks /
namespace pollution / stupid programming fails / etc. Thanks!