Creates a new sparse set with given max. capacity (max ID + 1) and chooses most memory efficient implementation, e.g. if n <= 256 returns a SparseSet8 instance.
n
max capacity, ID range: [0...n)
Generated using TypeDoc
Creates a new sparse set with given max. capacity (max ID + 1) and chooses most memory efficient implementation, e.g. if
n
<= 256 returns a SparseSet8 instance.