Commit Graph

24 Commits

Author SHA1 Message Date
Eugene 6e845f5543 1.0.0 2025-12-01 21:59:28 +03:00
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
Eugene 4fbf7d426e 0.0.8 2025-12-01 19:26:31 +03:00
Eugene eec57ec719 removed useless interface 2025-12-01 19:26:25 +03:00
Eugene 7b363a0219 0.0.7 2025-12-01 17:46:36 +03:00
Eugene 7db35956e1 markdown update 2025-12-01 17:46:25 +03:00
Eugene 4f4fddcbcf 0.0.6 2025-12-01 17:37:36 +03:00
Eugene 0d04900ec6 format with prettier 2025-12-01 17:37:12 +03:00
Eugene 5b1e81bea9 add tests 2025-12-01 17:36:26 +03:00
Eugene e5dd13477b add simple iterators 2025-12-01 17:30:15 +03:00
Eugene b79f9267f0 0.0.5 2025-04-03 19:22:06 +03:00
Eugene c773a73ec7 0.0.4 2025-04-03 19:18:05 +03:00
Eugene ea844221b7 Little DX upgrade. Now .range() can return VOID.
It means that user don't need to always return `true` to continue iteration, but user can break the iterations by returning `false`.
2025-04-03 19:18:00 +03:00
Eugene 6c6b48a287 Update README.md 2025-04-02 09:18:19 +03:00
Eugene 3a063d4aac 0.0.3 2025-04-02 09:10:28 +03:00
Eugene e53ecbd76b Merge remote-tracking branch 'origin/main' 2025-04-02 09:10:02 +03:00
Eugene 45b914875b Update vite version 2025-04-02 09:09:47 +03:00
Eugene dd78397385 Fixed bug with 0-size bitmap (.grow(x))
Add testcase
Add tests script & config
2025-04-02 09:08:46 +03:00
Eugene Antonenkov 5a8853f719
Delete public directory 2024-07-05 00:25:38 +03:00
Eugene Antonenkov 75f81b537e
Delete index.html 2024-07-05 00:25:15 +03:00
Eugene Antonenkov 8e609c984c
Update README.md 2024-07-05 00:15:20 +03:00
= e73e47a702 0.0.2 2024-07-04 22:40:22 +03:00
= b39cb22c87 Update readme 2024-07-04 22:40:17 +03:00
= 0368f12d60 init commit 2024-07-04 22:34:19 +03:00