Re: RFR: 8302872: Speed up StringLatin1.regionMatchesCI_UTF16 [v2]

2023-03-14 Thread Eirik Bjorsnos
> This PR continues the efforts from #12632 to speed up case-insensitive string > matching. > > We now tackle case-insensitive comparison of mixed-coder strings, implemented > in `StringLatin1.regionMatchesCI_UTF16` > > Key insights: > > - If the UTF16 code point is also in latin1 range, we ca

Re: RFR: 8302872: Speed up StringLatin1.regionMatchesCI_UTF16

2023-02-28 Thread Eirik Bjorsnos
On Sat, 18 Feb 2023 18:22:49 GMT, Eirik Bjorsnos wrote: > This PR continues the efforts from #12632 to speed up case-insensitive string > matching. > > We now tackle case-insensitive comparison of mixed-coder strings, implemented > in `StringLatin1.regionMatchesCI_UTF16` > > Key insights: >

RFR: 8302872: Speed up StringLatin1.regionMatchesCI_UTF16

2023-02-28 Thread Eirik Bjorsnos
This PR continues the efforts from #12632 to speed up case-insensitive string matching. We now tackle case-insensitive comparison of mixed-coder strings, implemented in `StringLatin1.regionMatchesCI_UTF16` Key insights: - If the UTF16 code point is also in latin1 range, we can leverage improve