Remix.run Logo
▲ nonadhocproblem 4 hours ago

It might do you some good to have an object-level understanding of claims before opining on them. Especially in a field like compression, where most claims are easily falsifiable.

▲Someone 4 hours ago | parent [-]

But the most important one often is implicit and harder to falsify: that a compress-decompress cycle will round-trip for every possible input and compression setting.

Having said that this repo has fairly extensive tests for that. See https://github.com/welcome-to-the-sunny-side/misa77/blob/mai.... I couldn’t find them covering all settings, but that may be just me not looking hard enough, and even if they don’t, adding that is easy.

▲nonadhocproblem 3 hours ago | parent [-]

I agree but this feels like a bit of a red herring since we're talking about performance here. Imagine trying to design a compression algorithm that's "maximally bad" in this sense. That is, it is extremely performant and correct on most data (it roundtrips), but there's some class of data for which it fails (decompression doesn't produce the original bytes), and fixing the algorithm just for this class of data takes away its performance advantages on most classes of data. In practice, this seems quite hard/weird to do.

Although relatedly, it's definitely possible for claims on performance (instead of correctness) to only hold on certain classes of data.