5 ms·
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 th
by bhouston 12y ago
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 https://Clara.io
Details: https://github.com/richgel999/lzham_codec https://github.com/richgel999/lzham_codec
- anon4 12y agoCan't you just implement that in javascript, then load the entire webpage that way?
- bhouston 12y agoYou can of course use things like: https://github.com/nmrugg/LZMA-JS 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.
- corysama 12y agoLZHAM 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.