News for hackers. Stuff that matters.
Re:Improving compression with a preset DEFLATE dictionary by bhouston on Monday March 30, 2015 @08:56AM (#9289132)
I'd just prefer something like LZHAM to be implemented as an alternative to gzip, Deflate for http compression. It would be amazing for serving content over the web to browser-based 3D applications like https://Clara.io

Details: https://github.com/richgel999/lzham_codec

Re:Improving compression with a preset DEFLATE dictionary by corysama on Monday March 30, 2015 @11:04AM (#9289965)
LZHAM is looking great. But, Rich says that it takes a while to warm up. So, it's not great for separated small files. Separate small files is exactly what shared dictionary compression is great for.
Re:Improving compression with a preset DEFLATE dictionary by anon4 on Monday March 30, 2015 @10:03AM (#9289530)
Can't you just implement that in javascript, then load the entire webpage that way?
Re:Improving compression with a preset DEFLATE dictionary by bhouston on Monday March 30, 2015 @10:10AM (#9289574)
You can of course use things like:

https://github.com/nmrugg/LZMA-JS

But nothing beats native code for decompression speed and also if it is native it can happen asynchronously outside of the JavaScript's limited threading model (although it is always getting better) and most importantly, it can also happen outside of the JavaScript memory space.