protozero
protozero copied to clipboard
Optimize pbf_reader::get_packed_bool
pbf_reader::get_packed_bool() currently calls get_packed_int32(). But with a one-byte bool there will never be any endianness or alignment issues so we could optimize this case.
Has this show up in profiling for you on certain types of messages @joto?
No. This is more theoretical.