[
https://issues.apache.org/jira/browse/LUCENE-8600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16716716#comment-16716716
]
Dawid Weiss commented on LUCENE-8600:
-------------------------------------
LGTM. Just wondering if there is a chance of so many updates that moving the
cost of ords bookkeeping to memory will become a problem (OOM)?
+ final PackedInts.Mutable ords = PackedInts.getMutable(size,
PackedInts.bitsRequired(size - 1), PackedInts.DEFAULT);
> DocValuesFieldUpdates should use a better sort
> ----------------------------------------------
>
> Key: LUCENE-8600
> URL: https://issues.apache.org/jira/browse/LUCENE-8600
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-8600.patch
>
>
> This is a follow-up to LUCENE-8598: Simon identified that swaps are a
> bottleneck to applying doc-value updates, in particular due to the overhead
> of packed ints. It turns out that InPlaceMergeSorter does LOTS of swaps in
> order to perform in-place. Replacing with a more efficient sort should help.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]