- grow now accounts for bit index + 1 when computing required byte length to avoid off-by-one at byte boundaries - contains/remove use explicit bounds checks (idx >= this.bits.length) instead of relying on truthy checks - and clears tail bytes not covered by the shorter operand - or/xor expand the result to encompass a longer operand so all bits are preserved - update behavior to be more predictable and safer; tests pass |
||
|---|---|---|
| .. | ||
| bitmap.test.ts | ||
| bitmap.ts | ||
| index.ts | ||
| types.ts | ||