On Fri, 17 May 2024 22:37:13 GMT, Sandhya Viswanathan <sviswanat...@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