~/talk

"Allegro" Means Both Fast and Happy. Coincidence?

Talkat NDC TechTown 2019 · 2019-09-02..09-05· [software-architecture]
slides:none on file

Takes std::sort (GCC baseline) on 1M random doubles, replaces the small-range routine with a custom heapified insertion: a faster make-heap, branch elimination by turning conditionals into arithmetic, and an unguarded insertion loop so the inner loop is tiny. Raising the cutoff from 32 to 64 cuts comparisons and swaps and drops wall time ~3% in tests and yields up to ~6% speedup versus std::sort; exposes average access distance as a better predictor than counts.

AI-written summary · about

  1. 0:00Intro
  2. 0:33Subtitle #2
  3. 6:51Sorting
  4. 8:28Why is Quicksort Popular?
  5. 13:40Challenge
  6. 18:22Why Not Binary Insertion Sort?
  7. 23:26Tip: Try Silly Things
  8. 25:51Net Optimization
  9. 28:03GNU heapify
  10. 33:50Optimization is Imagination
  11. 42:13Inner Loop
  12. 48:04Comparisons (baseline: red)
  13. 51:53Trying Silly Things
  14. 52:33A Helpful Metric
  15. 53:33Average Access Distance
  16. 54:08Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.