On Fri, 30 Aug 2024 17:08:33 GMT, Shaojin Wen <s...@openjdk.org> 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: > > Suggestions from @cl4es, rename hasNegativeOrZeros to > isLatin1GreaterThanZero If a non-ascii is in the middle or the end of a string, this patch may add an overhead. Offline benchmark results show that this actually brings a regression in the startup of a jetty server. ------------- Changes requested by liach (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/20772#pullrequestreview-2273287184