[BasicContainers] Add early drafts for RigidSet/RigidDictionary

This commit is contained in:
Karoy Lorentey committed 2026-02-16 17:15:59 -08:00
1 parent 934ad786d2
commit bf9a7033a0
36 files changed
+2411 -51

No files matched your search

@@ -283,7 +283,7 @@ extension BitArray {
var pos = _BitPosition(_count)
if pos.bit > 0 {
let (bits, count) = it._nextChunk(
maximumCount: UInt(_Word.capacity) - pos.bit)
maximumCount: _Word._capacity - pos.bit)
guard count > 0 else { return }
_count += count
_update { $0._copy(bits: bits, count: count, to: pos) }