Confluently Persistent Sets and Maps
Olle Liljenzin

TL;DR
This paper introduces confluently persistent sets and maps implemented as functional binary search trees, enabling efficient merging and updating of shared indexes in multi-user systems with minimal overhead.
Contribution
It presents novel non-destructive merge algorithms and a conflict-detecting meld process for confluently persistent data structures, improving multi-user index management.
Findings
Efficient set operations with O(m log(n/m)) complexity.
Hash-consing ensures unique node representation.
Meld algorithm supports conflict detection during merges.
Abstract
Ordered sets and maps play important roles as index structures in relational data models. When a shared index in a multi-user system is modified concurrently, the current state of the index will diverge into multiple versions containing the local modifications performed in each work flow. The confluent persistence problem arises when versions should be melded in commit and refresh operations so that modifications performed by different users become merged. Confluently Persistent Sets and Maps are functional binary search trees that support efficient set operations both when operands are disjoint and when they are overlapping. Treap properties with hash values as priorities are maintained and with hash-consing of nodes a unique representation is provided. Non-destructive set merge algorithms that skip inspection of equal subtrees and a conflict detecting meld algorithm based on set…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Data Management and Algorithms · Data Mining Algorithms and Applications
