Re: RFR: 8281146: Replace StringCoding.hasNegatives with countPositives [v12]

2022-03-09 Thread Claes Redestad
On Wed, 9 Mar 2022 16:52:54 GMT, Claes Redestad wrote: >> I'm requesting comments and, hopefully, some help with this patch to replace >> `StringCoding.hasNegatives` with `countPositives`. The new method does a >> very similar pass, but alters the intrinsic to return the number of leading >> b

Re: RFR: 8281146: Replace StringCoding.hasNegatives with countPositives [v12]

2022-03-09 Thread Claes Redestad
> I'm requesting comments and, hopefully, some help with this patch to replace > `StringCoding.hasNegatives` with `countPositives`. The new method does a very > similar pass, but alters the intrinsic to return the number of leading bytes > in the `byte[]` range which only has positive bytes. Thi