arXiv · 2507.06456
Fast Collection Operations from Indexed Stream Fusion
Abstract
We present a system of efficient methods for traversing and combining associative collection data structures. A distinguishing feature of the system is that, like traditional sequential iterator libraries, it does not require specialized compiler infrastructure or staged compilation for efficiency and composability. By using a representation based on indexed streams, the library can express complex joins over input collections while using no intermediate allocations. We implement the library for the Lean, Morphic, and Rust programming languages and provide a mechanized proof of functional correctness in Lean.
Explore related subjects
Keep this discovery
Scott Kovach, Praneeth Kolichala, Kyle A. Miller, David Broman, Fredrik Kjolstad. 2025-07-08. Fast Collection Operations from Indexed Stream Fusion. https://arxiv.org/abs/2507.06456
Cite the original work for its findings. Save a collection to share your selection of sources.