RFR: JDK-8306860: Avoid unnecessary allocation in List.map() when list is empty

Christoph Dreis duke at openjdk.org
Tue Apr 25 15:42:02 UTC 2023


On Mon, 24 Apr 2023 14:50:11 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:

>> Thanks @archiecobbs for coming to the same conclusion as me earlier. Would you be willing to sponsor this change by any chance?
>
>> Would you be willing to sponsor this change by any chance?
> 
> Yes except I'm a project "author" not a "committer" so can't do that yet.

But you could already create a ticket? That would already help :)

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13407#discussion_r1176282198


More information about the compiler-dev mailing list