Chriscbr / thinset

A data structure for sparse sets of unsigned integers.
Apache License 2.0
2 stars 1 forks source link

Default array size #4

Closed Chriscbr closed 8 months ago

Chriscbr commented 8 months ago

Instead of requiring a maximum value size to be specified up front, it should be possible to have it automatically resized as needed. If the user wants to specify the capacity up front, they can create the set with a particular default capacity (SparseSet::with_capacity(x))