bitmap-index/src
Eugene f840742724 fix(bitmap): correct growth at byte boundaries, add explicit bounds checks, and adjust bitwise ops
- 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
2025-12-01 21:58:51 +03:00
..
bitmap.test.ts add tests 2025-12-01 17:36:26 +03:00
bitmap.ts fix(bitmap): correct growth at byte boundaries, add explicit bounds checks, and adjust bitwise ops 2025-12-01 21:58:51 +03:00
index.ts removed useless interface 2025-12-01 19:26:25 +03:00
types.ts removed useless interface 2025-12-01 19:26:25 +03:00