[ https://issues.apache.org/jira/browse/LUCENE-9632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244359#comment-17244359 ]
Uwe Schindler commented on LUCENE-9632: --------------------------------------- Not sure why you ask me, but the Tomorrow implementation is not only used for standard sorting of lists and arrays. Lucene has its own sorting infrastructure to allow sorting multiple arrays and lists in parallel (the first array is sorted and the parallel ones are getting same element swaps like the first one). With plain Java apis that's not possible. In addition: Arrays/Collections.sort() makes clones of the objects instead of sorting in place. > Replace our TimSort with JDK TimSort > ------------------------------------ > > Key: LUCENE-9632 > URL: https://issues.apache.org/jira/browse/LUCENE-9632 > Project: Lucene - Core > Issue Type: Improvement > Affects Versions: master (9.0) > Reporter: Mike Drob > Priority: Major > > JDK 11 has a TimSort with very similar lineage to our TimSort (written by > Josh Bloch, based on Tim Peter's python list sort), we should consider > replacing our fork with a version that we don't have to maintain. -- 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