RFR: 8303401: Add a Vector API equalsIgnoreCase micro benchmark [v7]

Eirik Bjorsnos duke at openjdk.org
Wed Mar 1 17:52:37 UTC 2023


On Wed, 1 Mar 2023 17:42:16 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Eirik Bjorsnos has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Use GT, LT, EQ operations since they seem to outperform GE, LE, NE.
>
> test/micro/org/openjdk/bench/jdk/incubator/vector/EqualsIgnoreCaseBenchmark.java line 111:
> 
>> 109:                     .or(letter.and(upperA.eq(upperB)));
>> 110: 
>> 111:             if(equalsIgnoreCase.allTrue()) {
> 
> Suggestion:
> 
>             if (equalsIgnoreCase.allTrue()) {

Fixed.

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

PR: https://git.openjdk.org/jdk/pull/12790


More information about the core-libs-dev mailing list