~/talk

Persistent Iterators with Value Semantics

Talkat PLDI 2026 · 2026-06-15..06-19· [software-architecture]
name:Yihe Li
links:none on file
links:none on file
slides:none on file

Proposes persistent iterators that snapshot containers so iterator operations return new versions, implemented as the LibFpp C++ library using a finger tree backbone and iterator zippers that rebuild only the modified path. Claims amortized-constant copying for iterator updates, comparable asymptotic complexity to STL but higher constant factors, and automatic reclamation via reference counting. Presents microbenchmarks versus STL and third-party libs (vectors slower, sets competitive) and supplies reusable artifacts and source.

AI-written summary · about

  1. 0:00Persistent iterators intro
  2. 1:23Persistence advantages
  3. 2:47Goal of persistence
  4. 3:31Mutable iterators solution
  5. 5:59Functional approach drawbacks
  6. 7:23Persistent iterators with value semantics
  7. 8:47Finger tree efficiency
  8. 10:32Benchmarking containers
  9. 11:56Conclusion and library
  10. 12:40Q&A
  11. 13:02Mutable to persistent transition
  12. 14:06Optimization comparison
  13. 15:31Insertion operations support
  14. 16:13Derivative structures
  15. 16:54Persistent vs mutable
~/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.