On Tue, 5 Oct 2021 09:18:57 GMT, Сергей Цыпанов
wrote:
>> Originally was proposed by Zheka Kozlov here:
>> http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-December/057192.html
>>
>> Just a tiny optimization: we can use for-i loop instead of
>> `Iterable.forEach()` which is relying o
On Tue, 5 Oct 2021 09:18:57 GMT, Сергей Цыпанов
wrote:
>> Originally was proposed by Zheka Kozlov here:
>> http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-December/057192.html
>>
>> Just a tiny optimization: we can use for-i loop instead of
>> `Iterable.forEach()` which is relying o
On Mon, 4 Oct 2021 16:51:27 GMT, Martin Buchholz wrote:
>> Сергей Цыпанов has updated the pull request with a new target base due to a
>> merge or a rebase. The incremental webrev excludes the unrelated changes
>> brought in by the merge/rebase. The pull request contains four additional
>> com
> Originally was proposed by Zheka Kozlov here:
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-December/057192.html
>
> Just a tiny optimization: we can use for-i loop instead of
> `Iterable.forEach()` which is relying on iterator.
>
> Simple benchmark demonstrates slight improveme