~/talk

They're functional! They're efficient!!

Talkat !!Con 2016 · on Monday, 2016-05-30· [frontend-architecture]
slides:none on file

Persistent data structures keep old versions intact while reusing unchanged parts to save time and memory, implemented as trees (tries) that copy only nodes on the path to a changed leaf rather than whole arrays. That yields structural sharing, far fewer copies than naive immutability, and update cost tied to tree depth not length (useful with branching factors like 32). JavaScript options mentioned include mori (a ClojureScript port) and Immutable.js from Facebook, and the approach demonstrably reduces allocations and runtime.

AI-written summary · about

  1. 0:00Introduction to persistence
  2. 1:36The problem with mutability
  3. 3:46Immutability and copying
  4. 5:01Understanding persistence
  5. 6:42Tree-based structural sharing
  6. 9:31Implementation and resources
~/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.