<i18n dev> Integrated: 8300489: Use ArraysSupport.vectorizedHashCode in j.l.CharacterName
Claes Redestad
redestad at openjdk.org
Wed Jan 18 17:42:23 UTC 2023
On Wed, 18 Jan 2023 11:04:57 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> This patch makes use of `ArraysSupport.vectorizedHashCode` and helps verify the performance win also for range-based hash calculations. Also modernized and cleaned up the surrounding code somewhat.
>
>
> Benchmark Mode Cnt Score Error Units
> Characters.CodePoints.codePointOf avgt 15 153.753 ± 6.119 ns/op
> Characters.CodePoints.codePointOf avgt 15 134.753 ± 4.386 ns/op # after, 1.14x
>
>
> For C1 and C2 on non-x86 platforms the performance is neutral. Interpreter sees a 1-2% regression due a few added calls.
This pull request has now been integrated.
Changeset: 3ea0b8bc
Author: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3ea0b8bc253f1498895a879681406ecc15f37afb
Stats: 30 lines in 2 files changed: 15 ins; 5 del; 10 mod
8300489: Use ArraysSupport.vectorizedHashCode in j.l.CharacterName
Reviewed-by: alanb, naoto
-------------
PR: https://git.openjdk.org/jdk/pull/12068
More information about the i18n-dev
mailing list