Micro-benchmarks are usually not a good way to evaluate systems. That said, using a bytemap array can be very fast while also providing readable code. Let's say you want to test that string contains ...
ormsgpack is a fast MessagePack serialization library for Python derived from orjson, with native support for various Python types. ormsgpack follows semantic versioning and supports CPython, PyPy and ...