perf: use worker node key instead of heavy worker reference in hot code path
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 20 Jul 2023 21:44:31 +0000 (23:44 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 20 Jul 2023 21:44:31 +0000 (23:44 +0200)
commit501aea93c14789538c4e221fbab2f8afb80f4cf9
treecd274648f2d43593f2c31d3bbaddcd5bde008843
parentb881e803f1a32ce8d8218d3ba3638ad317ae87bc
perf: use worker node key instead of heavy worker reference in hot code path

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
src/utility-types.ts