On Wed, 18 Jan 2023 11:04:57 GMT, Claes Redestad <redes...@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. Marked as reviewed by alanb (Reviewer). ------------- PR: https://git.openjdk.org/jdk/pull/12068