Skip to main content

Module set

Module set 

Source
Expand description

Set utility functions optimized for performance. This code is hot, so it’s optimized for speed.

Functions§

difference
Returns the difference of two sets (elements in a but not in b).
every
Returns true if every element in a is also in b.
intersects
Returns true if sets intersect (have any common elements).
union
Returns the union of two sets.