Specialization of the generic packedsets module (see its documentation for more examples) for ordinal sparse sets.
IntSet = PackedSet[int]
proc initIntSet(): IntSet {.inline, ...raises: [], tags: [], forbids: [].}
proc toIntSet(x: openArray[int]): IntSet {.inline, ...raises: [], tags: [], forbids: [].}
© 2006–2024 Andreas RumpfLicensed under the MIT License. https://nim-lang.org/docs/intsets.html