RFR: JDK-8266431: Dual-Pivot Quicksort improvements (Radix sort) [v11]
iaroslavski
duke at openjdk.java.net
Wed Jan 12 14:22:03 UTC 2022
> Sorting:
>
> - adopt radix sort for sequential and parallel sorts on int/long/float/double arrays (almost random and length > 6K)
> - fix tryMergeRuns() to better handle case when the last run is a single element
> - minor javadoc and comment changes
>
> Testing:
> - add new data inputs in tests for sorting
> - add min/max/infinity values to float/double testing
> - add tests for radix sort
iaroslavski has updated the pull request incrementally with one additional commit since the last revision:
JDK-8266431: Dual-Pivot Quicksort improvements (Radix sort)
* Updated javadoc
* Improved mixed insertion
* Optimized sort networking
* Improved pivot partitioning
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3938/files
- new: https://git.openjdk.java.net/jdk/pull/3938/files/41b92f67..95f15386
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3938&range=10
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3938&range=09-10
Stats: 798 lines in 1 file changed: 230 ins; 226 del; 342 mod
Patch: https://git.openjdk.java.net/jdk/pull/3938.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3938/head:pull/3938
PR: https://git.openjdk.java.net/jdk/pull/3938
More information about the core-libs-dev
mailing list