red_black_tree
red_black_tree copied to clipboard
Stream Interface for Red Black Trees
Hi Chris,
Would it be super hard to build a Stream (lazy collection) interface to the Tree. It'll come super useful for stuff like filtering. Since to_list
fully realizes the collection, that may not be appropriate for very large trees.
Just thought I'd throw it out there.
Best, Santosh