You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2013/07/15 23:26:48 UTC

[jira] [Updated] (LUCENE-5113) Allow for packing the pending values of our AppendingLongBuffers

     [ https://issues.apache.org/jira/browse/LUCENE-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand updated LUCENE-5113:
---------------------------------

    Attachment: LUCENE-5113.patch

Here is a patch, there is a new freeze() method that packs the pending values into the (Monotonic)AppendingLongBuffer. This freeze method is used for ordinal maps, index sorting and FieldCache.
                
> Allow for packing the pending values of our AppendingLongBuffers
> ----------------------------------------------------------------
>
>                 Key: LUCENE-5113
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5113
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-5113.patch
>
>
> When working with small arrays, the pending values might require substantial space. So we could allow for packing the pending values in order to save space, the drawback being that this operation will make the buffer read-only.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org