[ 
https://issues.apache.org/jira/browse/LUCENE-9432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159200#comment-17159200
 ] 

Mohammad Sadiq commented on LUCENE-9432:
----------------------------------------

Thanks for the quick response [~atri] ! I'll compile some benchmark numbers and 
update this Jira in the next few days.

 

Agree, I thought the same as well, but it is possible that the array allocation 
overhead and the cost of copying might be more. Anyway, I'll share the numbers 
and see if it is worthwhile.

> Use LinkedList instead of manual array re-sizing for better throughput.
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-9432
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9432
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs
>            Reporter: Mohammad Sadiq
>            Priority: Minor
>              Labels: patch-available, performance, pull-request-available
>         Attachments: LUCENE-9432.patch
>
>
> I observed that using {{LinkedList}} instead of manually re-sizing and 
> copying {{SegmentTermEnumFrame}}s improves red-line QPS. Does it make sense 
> to include this?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to