Document backend differences in compression levels - #430
Conversation
|
I don't think these claims are accurate. This playground example demonstrates that And I haven't been able to find any indication that output produced by |
|
@oyvindln could you take a look and see if I've misinterpreted miniz_oxide documentation? The docs on flate2 are very visible so I'd like to get this right. |
|
@fintelia is correct yeah. I think the "not zlib compatible" thing in the original miniz doc just means that zlib doesn't have a corresponding level 10 you can't put in 10 as a level if using zlib (not that zlib levels correspond exactly to miniz levels anyhow as there are some slight differences in algorithm). It just does even more checks than level 9, it doesn't produce any different stream otherwise. level 0 means no compression, it's noted in the miniz_oxide documentation, same with level 10. |
Now with more details about compression levels in various backends!
We should probably fix the weird behavior of miniz_oxide for level 0, but this PR at least documents the current state, which should be an uncontroversial first step.