On Thu, 14 Sep 2023 12:02:53 GMT, Per Minborg <pminb...@openjdk.org> wrote:

>> This PR proposes to improve the MemorySegment::toString to reduce cluttering 
>> and add missing comas.
>
> src/java.base/share/classes/jdk/internal/foreign/Utils.java line 277:
> 
>> 275:     }
>> 276: 
>> 277:     public static String toHexString(long value) {
> 
> We intend to use this utility method in coming PRs.

The String concat code is really good at optimizing, but this will require a 
new string be created.
$0.02,Roger

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15740#discussion_r1325977796

Reply via email to