fix: fix iteration in fixed queue if start > size
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 26 May 2024 14:46:04 +0000 (16:46 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 26 May 2024 14:46:04 +0000 (16:46 +0200)
commit3451940fcbcf9750ad6e702ca296be7f8560408e
treef8c45020dc858b610342c57b178c561a32a33eb9
parent4311a5f6b3fb3121f02d6c67098b0747fcd24b27
fix: fix iteration in fixed queue if start > size

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/fixed-priority-queue.ts
tests/fixed-priority-queue.test.mjs