RFR: 8320448: Accelerate IndexOf using AVX2 [v19]
Scott Gibbons
sgibbons at openjdk.org
Wed May 22 15:05:11 UTC 2024
On Fri, 17 May 2024 22:37:13 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:
>> Not sure what you mean here. I *think* you mean that hsLength is not the length of the remaining bytes in the haystack, but the actual length. There may be an issue if that is correct, right? I'll investigate.
>
> Yes, that is what I meant. Thanks for investigating.
I've moved the code checking for (n-k)<32 to `big_case_loop_helper`, so there's no need for this in here any longer. Removing unneeded parameters from `compare_big_haystack_to_needle`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16753#discussion_r1610166656
More information about the core-libs-dev
mailing list