~/talk

Stacks and queues with amortized logarithmic-time operations

Talkat Haskell Love 2020 · 2020-07-31..08-01· [functional-programming]
links:none on file
slides:none on file

Claims functional stacks and queues that store elements in arrays with doubling and Okasaki-style implicit queues, achieving storage of n words plus O(log n) overhead and amortized O(log n) per operation instead of O(1). Uses a zero-less redundant digit system (digits 1,2,3) where digit 2 is safe and a lazy-evaluation debit invariant to make persistence-safe amortization. Queue version keeps a front and rear digit per node and uses a shift operation combining carry and borrow to restore safety; extends to deques and input/output-restricted variants.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:21Space efficiency goals
  3. 3:43Amortization and persistence
  4. 7:27Array-based binary structures
  5. 13:24Redundant binary representation
  6. 20:07Queue and deque implementations
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.