perf: remove unneeded branching in message handling code
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 16 Aug 2023 16:34:42 +0000 (18:34 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 16 Aug 2023 16:34:42 +0000 (18:34 +0200)
commit1c132fec1844432e7bfea1bd5d384a9880b91dbb
tree5a8d61d90ff7335ee7a6feeef5bb5785fa354623
parent1fa0cdf5c1471f14c09c7a33131f14f13215996b
perf: remove unneeded branching in message handling code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
benchmarks/internal/cluster-worker.mjs
benchmarks/internal/thread-worker.mjs
examples/javascript/dynamicExample.js
examples/javascript/fixedExample.js
examples/javascript/multiFunctionWorker.js
examples/javascript/yourWorker.js
src/worker/abstract-worker.ts