On Sun, 11 Oct 2026 19:17:30 GMT, Liam Miller-Cushon <[email protected]> wrote:

>> See
>> 
>> * [panama-dev@ thread 'String processing and Vector 
>> APIs'](https://mail.openjdk.org/archives/list/[email protected]/thread/YSPX3TBXZTZEFZNXWDYOZCWLUQPC62P6/)
>> * [JDK-8390049: Immutable zero-copy String views of a String's code 
>> units](https://bugs.openjdk.org/browse/JDK-8390049)
>> 
>> 
>> Benchmark                              (size)  Mode  Cnt    Score   Error  
>> Units
>> StringLoadBenchmark.fromArray            1024  avgt   30   15.885 ± 0.024  
>> ns/op
>> StringLoadBenchmark.fromString           1024  avgt   30   15.886 ± 0.028  
>> ns/op
>> StringLoadBenchmark.getBytesFromArray    1024  avgt   30   29.056 ± 0.183  
>> ns/op
>> StringLoadBenchmark.scalar               1024  avgt   30  128.030 ± 1.462  
>> ns/op
>> StringLoadBenchmark.segment              1024  avgt   30   15.800 ± 0.019  
>> ns/op
>> 
>> 
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Liam Miller-Cushon has updated the pull request with a new target base due to 
> a merge or a rebase. The incremental webrev excludes the unrelated changes 
> brought in by the merge/rebase. The pull request contains 13 additional 
> commits since the last revision:
> 
>  - Clean up unused import
>  - Merge remote-tracking branch 'origin/master' into short-vector
>  - Move asReadOnlyMemorySegment to String
>  - Add a benchmark
>    
>    Also adjust javadoc, convert test to JUnit 5, other small adjustments
>  - javadoc
>  - Move access to jdk.internal.foreign.StringSupport
>  - Make test inputs longer
>  - Test coverage
>  - Move to X-Vector.java.template, update javadoc, add masked overloads
>  - ShortVector.compatibleWith
>  - ... and 3 more: https://git.openjdk.org/jdk/compare/e56a14b5...1c6ff6ab

@cushon Would it be possible to add a (very short) synopsis in the PR 
description here?

I understand this has history discussed elsewhere which you may not want to 
repeat. But it's nice when a PR self-contained enough to get a rough idea 
without having to comb through the history.

There's always an audience to the PRs of a project like this who will not be 
filled in on the details but still would like a quick overview before maybe 
moving on.

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

PR Comment: https://git.openjdk.org/jdk/pull/32373#issuecomment-6121239785

Reply via email to