3 ms·
There is, I think, one thing missing: a comprehensive test suite that checks all the possible edge cases. Edit: as you can see below, the benchmark also checks
by Zababa 5y ago
There is, I think, one thing missing: a comprehensive test suite that checks all the possible edge cases.
Edit: as you can see below, the benchmark also checks for correctness so you can disregard this.
- phoboslab 5y agoWhat exactly do you mean with "edge cases"? For what it's worth, the decoder has been fuzzed[1] and the benchmark suite[2] with 2800 images en-/ and decodes without losing any pixels, as checked by qoibench[3]. [1] https://github.com/phoboslab/qoi/blob/master/qoifuzz.c https://github.com/phoboslab/qoi/blob/master/qoifuzz.c [2] https://qoiformat.org/benchmark/ https://qoiformat.org/benchmark/ [3] https://github.com/phoboslab/qoi/blob/master/qoibench.c#L440-L445 https://github.com/phoboslab/qoi/blob/master/qoibench.c#L440...
- Zababa 5y agoOh, I didn't realize that the benchmark also checked for correctness.