On Tue, 3 Sep 2024 14:32:16 GMT, Shaojin Wen wrote:
>> We might rename these to `countAscii` and `countModifiedUtf8Compatible`.
>
> ascii includes '\0', `CountModifiedUtf8Compatible` Newbies don't seem to know
> what it means
I think naming internal low-level methods based precisely on what the
On Tue, 3 Sep 2024 13:45:26 GMT, Chen Liang wrote:
>> src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java line 397:
>>
>>> 395:
>>> 396: /**
>>> 397: * if string#coder() is Latin1 return the count of string#value()
>>> leading greater than zero, else return 0
>>
>> Ca
On Tue, 3 Sep 2024 12:42:08 GMT, Claes Redestad wrote:
>> Shaojin Wen has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update src/java.base/share/classes/java/lang/System.java
>>
>> Co-authored-by: Claes Redestad
>
> src/java.base/s
On Tue, 3 Sep 2024 12:37:05 GMT, Shaojin Wen wrote:
>> Use fast path for ascii characters 1 to 127 to improve the performance of
>> writing Utf8Entry to BufferWriter.
>
> Shaojin Wen has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Update s
> Use fast path for ascii characters 1 to 127 to improve the performance of
> writing Utf8Entry to BufferWriter.
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
Update src/java.base/share/classes/java/lang/System.java
Co-authored