MarginaliaSearch/code/index/index-reverse/java/nu
Viktor Lofgren d023e399d2 (index) Remove unnecessary allocations in journal reader
The term data iterator is quite hot and was performing buffer slice operations that were not necessary.

Replacing with a fixed pointer alias that can be repositioned to the relevant data.

The positions data was also being wrapped in a GammaCodedSequence only to be immediately un-wrapped.

Removed this unnecessary step and move to copying the buffer directly instead.
2024-07-04 15:38:22 +02:00
..
marginalia/index (index) Remove unnecessary allocations in journal reader 2024-07-04 15:38:22 +02:00