perf: optimize task(s) stealing implementation
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Sep 2023 19:31:58 +0000 (21:31 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Sep 2023 19:31:58 +0000 (21:31 +0200)
commitf201a0cd2575be684ab0f291c8590eec538038e0
tree2babf1ceae034ed5c091e6fb737be2a5d2f57963
parent8481e318ad9225134cde44c1ccdbb2e9166aaf15
perf: optimize task(s) stealing implementation

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/abstract-pool.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts