Comment

Comment by tamsaraas

zstd not good for everything. Yes, it's fast in terms of compression. Easy & fast you can make compressed archive. But if you need to use the zstd on daily basis - i have bad news. ZSTD not suitable for general purpose archiver.

Depends on the data - you can have totally different output compressed archive if compare to winrar for example.

Example: I doing backups time to time, and archive important files into compressed archive containers (rar / 7zstd).

I've noticed, that my dev folder with tons of repositories, images, and different work related fines - vary damn too much.

/dev/ size = ~11GB

rar output (normal compression) = ~2.1 GB zstd archive output (normal compression) = ~4.7GB

Why? linked files, same files not treated as a 1 file + links to these files. Instead these files compressed each 1 by 1 instead of copy 1 identical, and compress the file. And many things like that.

Suggestion for 7z-zstd -> add ability to save links to files, not treat them as separate files, and adding an option like in winrar to search for identical files first and re-link all of them and remove duplicates, instead of compression each.

parent tamsaraas 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton