~/talk

The Amazing History of Sorting in the JDK

TalkinRussianat DUMP Spb 2024 · on Saturday, 2024-02-17· [java, compilers-and-language-design]
links:none on file
slides:none on file

A historical and technical overview of how sorting in the JDK evolved: it covers the original single-pivot Quicksort, the introduction in JDK 7 of Vladimir Yaroslavskiy’s Dual-Pivot Quicksort (1.5–3.5× faster than the prior implementation) and the switch to Timsort for object sorting. The talk explains the optimizations and techniques applied to Dual-Pivot Quicksort over the past 14 years, how those changes improved performance, and discusses correct ways to test sorting implementations.

AI-written summary · about

  1. 0:00JDK sorting introduction
  2. 1:10Two sorting algorithms
  3. 2:38JDK sorting history
  4. 5:08Dual-pivot quicksort basics
  5. 7:16Dual-Pivot development
  6. 8:44Small arrays sorting
  7. 11:16Pivot element choice
  8. 13:28Sorting 3 elements
  9. 14:34Adapting periodic data
  10. 15:38Timsort for numbers
  11. 17:25Memory optimization
  12. 18:28Floating-point sorting
  13. 19:34Parallel sorting in Java
  14. 21:18Counting and radix sort
  15. 22:46Hybrid sorting approaches
  16. 24:36Stability in object sorting
  17. 26:05Sorting testing importance
  18. 28:11Testing sorting algorithms
  19. 29:19Performance on data types
  20. 30:24JDK sorting evolution
  21. 31:48Contributing to JDK sorting
  22. 32:53Math vs programming sorting
  23. 34:00Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.