mirror of https://github.com/apache/lucene.git
299d7f6721
This updates file formats to compute prefix sums by summing up 8 deltas per long at the same time if the number of bits per value is 4 or less, and 4 deltas per long at the same time if the number of bits per value is between 5 included and 11 included. Otherwise, we keep summing up 2 deltas per long like today. The `PostingDecodingUtil` was slightly modified due to the fact that more numbers of bits per value now need to apply different shifts to the input data. E.g. now that we store integers that require 5 bits per value as 16-bit integers under the hood rather than 8, we extract the first values by shifting by 16-5=11, 16-2*5=6 and 16-3*5=1 and then decode tail values from the remaining bit per 16-bit integer. |
||
---|---|---|
.. | ||
datasets | ||
documentation | ||
generation | ||
hacks | ||
ide | ||
java | ||
maven | ||
pylucene | ||
testing | ||
validation | ||
wrapper | ||
conventions.gradle | ||
ge.gradle | ||
globals.gradle | ||
help.gradle | ||
template.gradle.properties |