Closed Salakar closed 8 years ago
https://github.com/NodeRedis/node-redis-parser/blob/master/lib/javascript.js#L42 changing this huge if else block to a switch would improve the perf quite a bit 👍
Would do a PR myself but my battery is at 4%, send help. 🆘
EDIT: doing a PR now, lots of perf increases!
I'll make a PR with benchmarks. Closing.
https://github.com/NodeRedis/node-redis-parser/blob/master/lib/javascript.js#L42 changing this huge if else block to a switch would improve the perf quite a bit 👍
Would do a PR myself but my battery is at 4%, send help. 🆘
EDIT: doing a PR now, lots of perf increases!