perf: optimize tasks queue implementation
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 28 May 2024 16:32:06 +0000 (18:32 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 28 May 2024 16:32:06 +0000 (18:32 +0200)
commit9df282a07ef35012409d7d08207e6df983a7e905
treeaf7bff3b3be669e56e76d481458175985229389f
parent1c9deb90200b7fff992464b45d02f96c090d9847
perf: optimize tasks queue implementation

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