Repository navigation
Patch release.
What's Changed
- Fix undefined behavior reported by UBSan. Results are unchanged; performance is unchanged (identical machine code for
streamvbyte_decode, other kernels within noise). By @lemire in #92zigzag_delta_encodeandzigzag_delta_decode: signed 32-bit overflow when computing differences and sums; these are now computed inuint32_t.- x64 encoders and decoders, and the NEON branchy delta decoder: misaligned
uint16_t,uint32_toruint64_tpointers into the key or data streams are replaced with byte pointers andmemcpy.
- Build:
STREAMVBYTE_SANITIZE_UNDEFINEDnow instruments the library itself. Previously, only the tests and examples were instrumented, so the UBSan CI jobs could not detect undefined behavior in the library.
The ABI is backward compatible (SOVERSION remains 3).
Full Changelog: v3.2.0...v3.2.1