[ https://issues.apache.org/jira/browse/LUCENE-8600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719161#comment-16719161 ]
Dawid Weiss commented on LUCENE-8600: ------------------------------------- Yup, sounds good to me. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org