~/talk

Fastware

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [web-performance]
slides:none on file

Argues concrete wins and losses from low-level changes: using replace branches with arithmetic (an “optional” mask trick) removes mispredicted branches and yields up to ~2× speed on random and real Google word-frequency data but causes 16–18% slowdowns on sorted or organ‑pipe inputs; shows binary-search insertion is slower than linear search due to branch misprediction; benchmarks use C#/C++ backends, multiple data shapes (random, random 0/1, sorted, organ pipe, real), Godbolt disassembly and Intel VTune, and recommends measure on representative inputs and use the optional mask trick carefully.

AI-written summary · about

  1. 0:00Intro
  2. 0:57Mind Amdahl's Law
  3. 15:36Optimizing Rare Cases
  4. 15:47Today's Computing Architectures
  5. 21:52Reliable Heuristics
  6. 31:25Benchmarking Speed
  7. 38:54Replace Branches with Arithmetic
  8. 43:24Sense & Sensibility
  9. 44:37Reduce Dependencies
  10. 45:26One Induction Variable
  11. 46:51Get rid of multiplication by 3
  12. 47:46Enter optional
  13. 55:01Replace branches with optional
~/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.