4 ms·
UTF-8 is a regular language (as a subset of all octet strings), so that doesn’t feel like much of a benchmark? Something like TIFF or PECOFF would seem to be a
by mananaysiempre 1y ago
UTF-8 is a regular language (as a subset of all octet strings), so that doesn’t feel like much of a benchmark? Something like TIFF or PECOFF would seem to be a more reasonable standard. (PDF is probably too much to ask, seeing as understanding the structure requires a full Deflate decoder among other things.)
- pastage 1y agoYou can handle deflate with katai or write custom handlers in Python. https://doc.kaitai.io/user_guide.html#process https://doc.kaitai.io/user_guide.html#process https://github.com/kaitai-io/kaitai_compress/blob/master/python/kaitai/compress/brotli.py https://github.com/kaitai-io/kaitai_compress/blob/master/pyt...