3 ms·
What sort of savings would you get with basic compression algorithms...?
by beambot 3y ago
What sort of savings would you get with basic compression algorithms...?
- jakelazaroff 3y agoLooks like someone else in this thread tried it out: https://news.ycombinator.com/item?id=37920255 https://news.ycombinator.com/item?id=37920255 TL;DR brotli does the best — it compresses the JSON down to 21.42kb, which is a 96.6% reduction. That's probably the most bang for the buck. If you take the final binary encoding format from the end of the post, though, brotli crunches it down to 5.99kb — a 99% reduction!
- masklinn 3y agoWould also be interesting to run-length-decode the final file and compress that, to see how much (or how little) the RLE help. Though I don’t think it’s super useful over the wire, LZ4 could also be an interesting thing to look at.