~/talk

Performance Improvements in Set Operations

Talkat Dyalog '22 · 2022-10-09..10-13· [software-architecture]
links:none on file
slides:none on file

Dyalog 18.0 adds set-primitive optimizations (membership, index, union, intersection, differ) but 18.2 reverts some changes and performance varies by input. Measurements show hash collisions that cause execution spikes around a 2048-size boundary, a small-set optimization, and a faster lookup-mode that should run earlier (algorithm selection). Increasing hash-table size 8× reduces spikes; some cases show an order-of-magnitude speedup (≈0.1 ms vs 1 ms). Reintroductions require ≥2× improvement and instrumented interpreter traces to prioritize fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 4:1518.2 vs 18.0
  3. 5:55Algorithm selection
  4. 13:00Unexplained phenomena
  5. 20:40Conclusions
~/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.