[ 
https://issues.apache.org/jira/browse/LUCENE-10014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17399731#comment-17399731
 ] 

ASF subversion and git services commented on LUCENE-10014:
----------------------------------------------------------

Commit 19e5c00a4fff111100768f50ece12015196e15e0 in lucene's branch 
refs/heads/main from Michael McCandless
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=19e5c00 ]

LUCENE-10014: fix performance bug: when writing doc values with block GCD 
compression we were unnecessarily wasting index storage by failing to take 
fully advantage of the GCD compression


> docvalue writeBlock gcd encode improve
> --------------------------------------
>
>                 Key: LUCENE-10014
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10014
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs
>            Reporter: weizijun
>            Priority: Major
>         Attachments: LUCENE-10014.patch
>
>
> Lucene90DocValuesConsumer.writeBlock calculate bitsPerValue  as:
> {code:java}
> final int bitsPerValue = DirectWriter.unsignedBitsRequired(max - min);
> {code}
>  it can use gcd in this place as:
> {code:java}
> (max - min) / gcd
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to