~/talk

The Radix Trees How IntMap Works

Talkat Lambda World Seattle 2018 · 2018-09-17..09-18· [functional-programming]
slides:none on file

Explains how IntMap implements a compressed binary trie with three constructors: Leaf(key,value), Branch(prefix,mask,left,right) and Empty, where lookups test a mask with single one bit via a fast bitwise AND to choose left or right. Shows path compression that makes operations proportional to key length, describes node-span tradeoffs (byte-at-a-time yields 256 children) and the adaptive radix tree variants (N4/N16/N48/N256) that pick node representations to reduce space without growing height. Notes a Java persistent ART benchmarks well but Haskell implementations struggle due to boxed arrays and thunk overhead.

AI-written summary · about

  1. 0:00Start
  2. 0:20Radix Trees How IntMap Works
  3. 1:42Functional Graphs
  4. 4:36Practical Algorithm to Retrieve Information Coded in Alphanumeric
  5. 13:24Tries retrieve key character by character
  6. 38:23Questions?
~/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.