3 ms·
golf
by whateveracct 4y ago
golf
- Dylan16807 4y agoGolf of what sort? It's hard to beat RLE or RLE+palette for minimal code size. I'd expect either one of those to be a tenth the size of a QOI decoder.
- adgjlsfhk1 4y agothese do well on synthetic images but really poorly with noise. QOI manages pretty good performance even with noise.
- Dylan16807 4y agoThat doesn't really explain the code golf answer.
- eps 4y agoQOI is in the same ballpark as RLE simplicty-wise but performs much better in a larger number of common cases. That's very much "golf".
- Dylan16807 4y agoI don't know about that. My estimate would be that QOI is ten times as complex as RLE and ten times less complex than DEFLATE-style compression. It could (barely) share a ballpark with either one.