perf: optimize tasks queuing implementation
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 6 Jul 2024 20:39:43 +0000 (22:39 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 6 Jul 2024 20:39:43 +0000 (22:39 +0200)
commit097dea68fd73ac0d6f6db7b13c585bf8b6726418
treea185d5d9ab6869978fc80a3f338758a177c5a517
parentf8231b06d3d8a8d7415558c68d6c164c9b659a8a
perf: optimize tasks queuing implementation

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/fixed-priority-queue.ts
src/fixed-queue.ts [new file with mode: 0644]
src/index.ts
src/pools/abstract-pool.ts
src/priority-queue.ts
src/utility-types.ts
tests/fixed-priority-queue.test.mjs
tests/fixed-queue.test.mjs [new file with mode: 0644]
tests/pools/abstract-pool.test.mjs
tests/priority-queue.test.mjs