3 ms·
The sightly better file compression with rar is still interesting. But I suppose with today's compute when you think about the time vs space trade-off, time is
by anonu 5y ago
The sightly better file compression with rar is still interesting. But I suppose with today's compute when you think about the time vs space trade-off, time is more important. Space is cheap.
- tropin 5y agoIs not just "slightly better" in some cases. An obvious one is repeated files. If RAR encounters a file ten times, it will compress once and store it and nine pointers. lzma and zstd guis i've tested will store ten compressed copies. It happens all the time in backups.
- daneel_w 5y ago> "lzma and zstd guis i've tested will store ten compressed copies" It depends on dictionary size, word size, the actual data etc.
- jsjohnst 5y ago> If RAR encounters a file ten times, it will compress once and store it and nine pointers. A bunch of compression formats do that. Even zip files can, which leads to interesting tricks like: https://www.bamsoftware.com/hacks/zipbomb/ https://www.bamsoftware.com/hacks/zipbomb/
- anonu 5y agoHandling multiple identical files is certainly desirable - but this is not the "core" compression algo. Its a cute optimization trick...