3 ms·
The simplest functional double-ended queue is actually really easy to code up and reason about. It's the more complicated optimizations that were PhD work. Bu
by eru 11y ago
The simplest functional double-ended queue is actually really easy to code up and reason about.
It's the more complicated optimizations that were PhD work. But designing fast persistent data structures in an imperative setting ain't easier.
(To avoid confusion: `persistent' used here as the opposite of `ephemeral', and without any relation to saving to disk.)