Skip to content

Version 3.1.0

Choose a tag to compare

@lemire lemire released this 10 Nov 14:43
· 15 commits to master since this release

Minor release.

What's Changed

  • New streamvbyte_decode_unpadded: decodes an ordinary StreamVByte stream without requiring STREAMVBYTE_PADDING readable bytes past its end (e.g., a stream at the end of a file mapping or in an exactly sized allocation), with no allocation or copy. It uses SIMD for a prefix and scalar decoding for the tail; short streams are decoded scalarly. Same format and return value as streamvbyte_decode; not for the 0124 or delta formats. By @edouarda in #84
  • Fix: streamvbyte_validate_stream and streamvbyte_validate_stream_0124 could read one byte past the end of a stream whose count is a multiple of 4.
  • Tests: guard-page tests for unpadded decoding; CI: new AddressSanitizer job on Ubuntu 24.04.

The ABI is backward compatible (SOVERSION remains 3).

Full Changelog: v3.0.2...v3.1.0