Hacker News new | ask | show | jobs
by joppy 1507 days ago
Why is there such a big disclaimer/warning on the front? Shouldn’t the program just check that decompress(compress(x)) = x as it goes, and then it can be sure that compress(x) has not lost any data?
1 comments

no compressor tests the output while compressing as it hurts the performance. you can do it after compressing, though, using `bzip3 -t`.
Right, but I would probably test the output while compressing instead of putting a big USE AT YOUR OWN PERIL sign across the front…
It seems PRs are welcome. The author/maintainer may accept that as optional behavior with a command-line flag.