uschindler commented on issue #1397: LUCENE-9304: Refactor DWPTPool to pool DWPT directly URL: https://github.com/apache/lucene-solr/pull/1397#issuecomment-610274513 > @uschindler I pushed feedback - thanks for taking a look No problem. I have just seen the index based backwards iteration, which is fine for random access lists. `ArrayDeque` is often forgotten, although is much better than lists for some cases (but not general replacement). Whenever you need to insert/remove elements on both sides of the list it's no lineral operation (especially inserting removing elements at begin). Behaves like `LinkedList` but with better CPU cache semantics.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org