[ https://issues.apache.org/jira/browse/LUCENE-9432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17162174#comment-17162174 ]
Atri Sharma commented on LUCENE-9432: ------------------------------------- I think the first step is to rewrite the code with the Deque interface – it is just more logical and readable. Post that, we can play around with the underlying implementation (I am in favour of ArrayDeque). > 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