~/talk

Alternative Data Structures in Ruby

Talkat LA RubyConf 2010 · 2010-02-19..02-20· [ruby, databases]
slides:none on file

Shows concrete tradeoffs: a Bloom filter stores 100 million strings (≈100 chars) in about 280 MB at a 0.00001% false-positive rate versus ~10 GB for a hash set, and it cuts useless file-server 404 checks by ~99% as a prefilter. BK-trees find nearest strings for spelling correction without scanning the whole dictionary and cut comparisons (example saved ~50%). Splay trees bias toward hot keys for power-law access, and tries power autocompletion with O(1) per-letter traversal used in a Rack tag autocomplete.

AI-written summary · about

  1. 0:00Intro
  2. 0:50Why talk about different data structures
  3. 1:30My favorite data structure
  4. 1:40The point of this talk
  5. 2:00Bloom filters
  6. 2:25Memory
  7. 3:00Bloom Filter Example
  8. 5:30Bloom Filter Summary
  9. 5:45PK Trees
  10. 6:45Triangle Inequality
  11. 7:40Example
  12. 10:50Web Caches
  13. 11:30Split Tree
  14. 12:45Try Tree
  15. 13:30Try Cool
  16. 13:55Try Demo
  17. 15:10Try Autocomplete
  18. 16:00Conclusion
~/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.