RFR: 8325679: Optimize ArrayList subList sort
Pavel Rappo
prappo at openjdk.org
Wed Feb 14 14:55:02 UTC 2024
On Tue, 13 Feb 2024 03:55:37 GMT, Stuart Marks <smarks at openjdk.org> wrote:
> My guess is that nobody noticed this because sublists aren't used that much, and sorting of subarrays, while arguably necessary for completeness, probably aren't used all that much either.
FWIW, `CopyOnWriteArrayList.COWSubList` overrides `sort`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17818#issuecomment-1943965071
More information about the core-libs-dev
mailing list