Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
Lucene90DocValuesConsumer.writeBlock calculate bitsPerValue as:
final int bitsPerValue = DirectWriter.unsignedBitsRequired(max - min);
it can use gcd in this place as:
(max - min) / gcd