RFR: 8193031: Collections.addAll is likely to perform worse than Collection.addAll
Pavel Rappo
prappo at openjdk.java.net
Mon Dec 21 15:25:56 UTC 2020
On Mon, 21 Dec 2020 14:26:45 GMT, Сергей Цыпанов <github.com+10835776+stsypanov at openjdk.org> wrote:
>> This message is purely informational: I may have found a JBS comment that provides historical context for that "this method is likely to run significantly faster under most implementations" phrase. Here: https://bugs.openjdk.java.net/browse/JDK-4822887?focusedCommentId=12241154&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-12241154
>
> @pavelrappo also see this not very old comment: https://github.com/spring-projects/spring-framework/pull/24636#pullrequestreview-370684078
"This message" referred to the entirety of that very comment of mine https://github.com/openjdk/jdk/pull/1764#issuecomment-748926986
I prepended that message with that clause (that is, the wording to the left of the colon) to make it clear that I didn't want to review or argue with anything said before that in that thread; it seems that clause made more harm than good.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1764
More information about the core-libs-dev
mailing list