On Tue, 17 Jan 2023 20:51:06 GMT, Rémi Forax wrote:
>> Sergey Tsypanov has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Polishing
>
> src/java.base/share/classes/java/lang/invoke/MethodHandles.java line 59:
>
>> 57: import java.nio.ByteO
On Tue, 17 Jan 2023 18:07:37 GMT, Sergey Tsypanov wrote:
>> - `MethodType.ptypes()` can be used instead of `MethodType.parameterList()`
>> when we don't need a copy
>> - comparison of two lists can be done without `Stream.reduce()`
>
> Sergey Tsypanov has updated the pull request incrementally w
On Tue, 17 Jan 2023 15:30:12 GMT, Rémi Forax wrote:
>> Precious little method handle use in lambda bootstrap since JDK 11. Though I
>> agree with the sentiment - having fixed a number of bootstrap issues in the
>> past - `MethodHandles` is a small step up the abstraction ladder and the
>> code
> - `MethodType.ptypes()` can be used instead of `MethodType.parameterList()`
> when we don't need a copy
> - comparison of two lists can be done without `Stream.reduce()`
Sergey Tsypanov has updated the pull request incrementally with one additional
commit since the last revision:
Polishing