On Tue, 18 Jun 2024 10:00:46 GMT, Claes Redestad <redes...@openjdk.org> wrote:
>> Extracting duplicate method references to static field reduce proxy class >> spinning and loading. In this case 2 less classes loaded when using >> `findAny()` on each type of stream. > > Claes Redestad has updated the pull request incrementally with one additional > commit since the last revision: > > Fixes Friendly reminder that this improvement needs a Reviewer. While it'd be great if javac can make this redundant this is adding overhead in the meantime, and the temporary workaround doesn't obfuscate the code. ------------- PR Comment: https://git.openjdk.org/jdk/pull/19477#issuecomment-2191356136