perf: remove unneeded nullish check in hot code paths
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 3 Apr 2023 10:04:06 +0000 (12:04 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 3 Apr 2023 10:04:06 +0000 (12:04 +0200)
commit867d34f8cfc5f4a8fbaa4eb27520c8b9469cc80e
tree99ce0d52cf2a989515d6fb7688580d90707fca1d
parentceb54323437dbbbe262691ceac688bac17bbae06
perf: remove unneeded nullish check in hot code paths

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts