[
https://issues.apache.org/jira/browse/LUCENE-9632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244587#comment-17244587
]
Adrien Grand commented on LUCENE-9632:
--------------------------------------
+1 to drop the ArrayUtil/CollectionUtil tim sorts, but like Uwe said we still
need TimSorter.
bq. In addition: Arrays/Collections.sort() makes clones of the objects instead
of sorting in place.
I know it used to be true for Collections.sort() but I don't think this is the
case anymore, at least not with ArrayList.
> 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: [email protected]
For additional commands, e-mail: [email protected]