~/talk

Priority Search Queues: 1.5 dimensional Tree Search

Talkat EuroClojure 2016 · 2016-10-25..10-26· [compilers-and-language-design]
slides:none on file

Implements Hinze’s priority-search penants as a Clojure library (psqlj) with a Java core using Adams weight-balanced trees and view-based decomposition, exposing get/assoc/dissoc/peak/pop/seek plus priority-bounded traversals. Claims: peak is constant-time storage of the winner; priority-bounded range query finds one low-priority entry in a 34,000-key range in ~27 microseconds vs ~150 milliseconds for a sorted-map composition — roughly three orders of magnitude. Library on GitHub/Clojars; benchmarks and mutable vs view implementations included.

AI-written summary · about

  1. 0:00Introduction to PSQs
  2. 5:48Implementation approaches
  3. 8:12Halinsa's penant approach
  4. 10:22Alternative libraries
  5. 12:28The PSQLJ library
  6. 15:16Interface and usage
  7. 17:08Benchmarking results
  8. 23:33Technical deep dive
  9. 37:46Testing and future plans
~/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.