MarginaliaSearch/code/libraries/coded-sequence/test/nu/marginalia/sequence
Viktor Lofgren ae87e41cec (index) Fix rare BitReader.takeWhileZero bug
Fix rare bug where the takeWhileZero method would fail to repopulate the underlying buffer.  This caused intermittent de-compression errors if takeWhileZero happened at a 64 bit boundary while the underlying buffer was empty.

The change also alters how sequence-lengths are encoded, to more consistently use the getGamma method instead of adding special significance to a zero first byte.

Finally, assertions are added checking the invariants of the gamma and delta coding logic as well as UrlIdCodec to earlier detect issues.
2024-07-16 11:03:56 +02:00
..
BitReaderTest.java (index) Fix rare BitReader.takeWhileZero bug 2024-07-16 11:03:56 +02:00
BitWriterTest.java (index-reverse) Added compression to priority index 2024-07-11 16:13:23 +02:00
EliasGammaSequenceIteratorTest.java (index) Fix rare BitReader.takeWhileZero bug 2024-07-16 11:03:56 +02:00
SequenceOperationsTest.java (index) Integrate positions data with indexes WIP 2024-06-10 15:09:06 +02:00