Hello everyone,
A quick note to mention that I have (finally) ported the LZ4 algorithms (fast compression and decompression) to Javascript. Initially only supported on NodeJS via bindings, there is now an implementation in pure Javascript that works in the browser. The API is mirrored from the LZ4 C version with one main addon (Buffer) to support binary data manipulation. Simple tests on fairly large datasets (110Mb xml) show a reasonable performance (50% ratio in 6.5s using nodejs 0.10.26 on my laptop).
The code is located at:
The pure JS port is under build/lz4.js.
See the README for its usage.
Note that compressHC is not supported... pulls are welcomed!
Cheer,
Pierre