perf: remove unneeded class indirection for dynamic pool in worker
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 10:40:40 +0000 (12:40 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 10:40:40 +0000 (12:40 +0200)
commit9cd39dd47830f0923cd3ebf53b709bf7fb07e788
treeacab4907b9a6513b817be53c64f4d833a8937b45
parent0770fe626b2bb3212a1d73fa4764973ac92e241a
perf: remove unneeded class indirection for dynamic pool in worker
selection code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
benchmarks/worker-selection/less.js [moved from benchmarks/worker-selection/lru.js with 100% similarity]
src/pools/cluster/dynamic.ts
src/pools/pool-internal.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts [deleted file]
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
src/pools/thread/dynamic.ts
tests/pools/selection-strategies/selection-strategies.test.js
tests/pools/selection-strategies/worker-choice-strategy-context.test.js