r/cpp • • Sep 29 '26

[PLDI'26] Persistent Iterators with Value Semantics

https://www.youtube.com/watch?v=cq33C5nXEh0
16 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/zoomT Sep 30 '26

Paper author here. Yes, the aim of the paper was a comparable iterator abstraction with similar asymptotic complexities. Since persistent containers/iterators use tree-based/zipper data-structures, they generally are not competitive against array-backed containers like std::vector in terms of constant factors.