Chriscbr / thinset

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

`max_value` is confusing #5

Closed thass0 closed 8 months ago

thass0 commented 8 months ago

The name max_value indicates that the set should be able to contains the value itself too. Calling this variable cap might better fit this purpose. Alternatively, one might add 1 to the max_value in the SparseSet::new function.