[
https://issues.apache.org/jira/browse/LUCENE-7521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-7521:
---------------------------------
Attachment: LUCENE-7521.patch
Here is a patch. It removes the Direct* and Packed*ThreeBlocks impls which were
just specializations of Packed64 for given numbers of bits per value. It also
makes sure that PackedInts.fastestFormatAndBits doesn't use the
PACKED_SINGLE_BLOCK format anymore so that we can remove it in Lucene 8.
> Simplify PackedInts
> -------------------
>
> Key: LUCENE-7521
> URL: https://issues.apache.org/jira/browse/LUCENE-7521
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7521.patch
>
>
> We have a lot of specialization in PackedInts about how to keep packed arrays
> of longs in memory. However, most use-cases have slowly moved to DirectWriter
> and DirectMonotonicWriter and most specializations we have are barely used
> for performance-sensitive operations, so I'd like to clean this up a bit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]