perf: enable prioritized tasks queue only when necessary
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 29 May 2024 16:00:47 +0000 (18:00 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 29 May 2024 16:00:47 +0000 (18:00 +0200)
commitfcfc3353eb4053c02f64c80a14ae142d44388a71
tree3641f40ca7fb180fa379d5c083b30d7aa85cd324
parent6caee856d0e31d8479a8dfbea76bbf3e22a621af
perf: enable prioritized tasks queue only when necessary

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
14 files changed:
CHANGELOG.md
src/circular-buffer.ts
src/fixed-priority-queue.ts
src/pools/abstract-pool.ts
src/pools/utils.ts
src/pools/worker-node.ts
src/pools/worker.ts
src/priority-queue.ts
tests/fixed-priority-queue.test.mjs
tests/pools/abstract-pool.test.mjs
tests/pools/worker-node.test.mjs
tests/priority-queue.test.mjs
tests/worker-files/cluster/testTaskFunctionObjectsWorker.cjs
tests/worker-files/thread/testTaskFunctionObjectsWorker.mjs