[
https://issues.apache.org/jira/browse/LUCENE-5266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792948#comment-13792948
]
Adrien Grand commented on LUCENE-5266:
--------------------------------------
bq. The only caveat is the encoding would need to ensure there is always an
extra 2 bytes at the end.
There are some places (codecs) where I encode many short sequences
consecutively so I care about not wasting extra bytes but if this proves to
help performance, I think it shouldn't be too hard to do add the ability to
have extra bytes at the end of the stream (I'm thinking about adding a new
PackedInts.Format to the enum but there might be other options).
> Optimization of the direct PackedInts readers
> ---------------------------------------------
>
> Key: LUCENE-5266
> URL: https://issues.apache.org/jira/browse/LUCENE-5266
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-5266.patch, LUCENE-5266.patch
>
>
> Given that the initial focus for PackedInts readers was more on in-memory
> readers (for storing stuff like the mapping from old to new doc IDs at
> merging time), I never spent time trying to optimize the direct readers
> although it could be beneficial now that they are used for disk-based doc
> values.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]