RFR: 8266431: Dual-Pivot Quicksort improvements (Radix sort) [v3]

Vladimir Yaroslavskiy duke at openjdk.org
Sun Nov 23 21:08:40 UTC 2025


On Sat, 22 Nov 2025 23:00:44 GMT, Piotr Tarsa <duke at openjdk.org> wrote:

> Could the duplication be reasonably reduced by using code templates like the ones in Vector API https://github.com/search?q=repo%3Aopenjdk%2Fjdk+path%3A*.java.template+path%3Asrc%2Fjdk.incubator.vector&type=code ?

Hi [tarsa](https://github.com/tarsa),
Thank you for your advice, it should really help to easier support and modify the sorting class.
Could you please point to the documentation related to templates?
For example, if I use $type$ in code, how can I specify that $type$ is one of int, long, float, double only?
How can I generate sources from the template?

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

PR Comment: https://git.openjdk.org/jdk/pull/27411#issuecomment-3568335648


More information about the core-libs-dev mailing list