On Thu, 12 May 2022 09:49:17 GMT, Quan Anh Mai <d...@openjdk.java.net> wrote:

> Maybe we could use `a.length - vsp.length() > 0 && offset u< a.length - 
> vsp.length()` which would hoist the first check outside of the loop. Thanks.

Thanks for the review @merykitty ! We need the check `offset >= 0` which I 
think is different from `a.length - vsp.length()`.

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

PR: https://git.openjdk.java.net/jdk/pull/8620

Reply via email to