lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Updated] (LUCENE-5792) Improve our packed *AppendingLongBuffer
Date Tue, 01 Jul 2014 07:48:24 GMT


Adrien Grand updated LUCENE-5792:

    Attachment: LUCENE-5792.patch

Good point, here is an updated patch.

> Improve our packed *AppendingLongBuffer
> ---------------------------------------
>                 Key: LUCENE-5792
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 5.0, 4.10
>         Attachments: LUCENE-5792.patch, LUCENE-5792.patch, LUCENE-5792.patch
> Since these classes are writeteable, they need a buffer in order to stage pending changes
for efficiency reasons. The issue is that at read-time, the code then needs, for every call
to {{get}} to check whether the requested value is in the buffer of pending values or has
been packed into main storage, which is inefficient.
> I would like to fix these APIs to separate the writer from the reader, the latter being

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message