Various integer sets in Rust, tuned to be fast for certain operations.
GrowSet
is a simple set of integers.
It supports O(1)
addition, clearing, and membership testing,
and O(n)
iteration.
ShrinkSet
is a simple set of integers.
It supports O(1)
removal, refilling, and membership testing,
and O(n)
iteration.