Closed Aceeri closed 6 years ago
Would be good if we had a way to non-lazily combine 2 bitsets in a performant way.
Naive way is just:
for bit in bitset { other.add(bit); }
I would like to look into this, if nobody else has started it.
I didn't, @Aceeri is quite busy with Specs PRs I think, so feel free to do it.
I think compound assignment operators could be used for this.
Would be good if we had a way to non-lazily combine 2 bitsets in a performant way.
Naive way is just: