perf: optimize condition checks order
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 10 Sep 2023 16:53:11 +0000 (18:53 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 10 Sep 2023 16:53:11 +0000 (18:53 +0200)
commitb6bfca0158affbf4bdc0106a7b400eb9f7b73894
treec8ff3ae1a2e3d628720a5fe7f813f83640e33f52
parent1a28f967262fc8968d12fb0ef0be93f768607266
perf: optimize condition checks order

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/abstract-pool.ts