Node is funky
The story of how I got exited for nothing and why you should not over-optimize JS code.
The Commit in question (warning, ugly code ahead): https://github.com/fed135/compactr/commit/44d24edc48302b650e46cbb365dd64ec2dff8854
First a disclaimer
- The optimizations you see should not be part of any node app. JS code, like all code actually, should be readable and easily maintainable.