3 ms·
If you get compression ratios that good, you should consider if your application might be doing something stupid like storing the same data thousands of times i
by londons_explore 9y ago
If you get compression ratios that good, you should consider if your application might be doing something stupid like storing the same data thousands of times inside it's data file.
If you store enough of the same type of data, invest in redesigning the application. There's a reason we all use jpegs over zipped bitmaps...
- UK-Al05 9y agoIt sounds like his application scraping data of some kind rather than say generating it.
- rspeer 9y agoHTML is pretty repetitive, but if you want to archive HTML data, you don't get to redefine what HTML is. Compression is useful.
- chatmasta 9y agoThis is what the WARC [0] file format (and/or gzip) is for. [0] https://en.m.wikipedia.org/wiki/Web_ARChive https://en.m.wikipedia.org/wiki/Web_ARChive
- freeone3000 9y agoand/or xz? because xz gives better compression than gzip or warc?
- jwilliams 9y ago> There's a reason we all use jpegs over zipped bitmaps... It's because it's an appropriate compression - just like xz can be? Not sure what you're actually suggesting here.
- yorwba 9y agoThe suggestion is to design an application-specific format that avoids storing redundant data in the first place. When that's an option at all it gives you higher compression than any general-purpose compression algorithm can achieve.