Commit Graph
6 Commits
Author SHA1 Message Date
Károly Lőrentey 41fe772f88 [BitSet] More doc fixes 🤦🏼‍♂️ 2022-09-04 19:27:51 -07:00
Karoy Lorentey 4dfcc4f9ef [BitSet] Doc fixes 2022-08-31 13:14:45 -07:00
Karoy Lorentey 464d973bf3 [BitSet] Remove precalculated count. Add BitSet.Counted wrapper for use cases that require it.
This results in a significant speedup for both individual
insert/remove operations as well as bulk set operations -
up to 4x.

Use cases that require an O(1) count can use the separate
BitSet.Counted type.
2022-08-31 13:04:51 -07:00
Karoy Lorentey e34bbb8c4c [BitSet] Add reserveCapacity.
This works slightly different as usual, as the input argument
specifies the maximum value we expect to store, not the maximum
count.
2022-08-29 22:40:59 -07:00
Karoy Lorentey c02557f717 [BitSet] Add member subscripts 2022-08-28 16:33:50 -07:00
Karoy Lorentey da84296b9b [BitSet] Add custom sorted(), returning self 2022-08-16 15:53:06 -07:00