<i18n dev> RFR: 8263561: Re-examine uses of LinkedList
github.com+7806504+liach at openjdk.java.net
Sun Mar 14 17:10:23 UTC 2021
On Fri, 26 Feb 2021 10:48:33 GMT, Сергей Цыпанов <github.com+10835776+stsypanov at openjdk.org> wrote:
> The usage of `LinkedList` is senseless and can be replaced with either `ArrayList` or `ArrayDeque` which are both more compact and effective.
> jdk:tier1 and jdk:tier2 are both ok
Are linked lists worse for addition even in cases where addition to array list or deque requires resize and copying? i thought that's the advantage of linked list.
More information about the i18n-dev