Hacker News new | ask | show | jobs
by zackify 3804 days ago
As of 5.4.0 arrow functions are more performant than binding, FYI: https://github.com/nodejs/node/pull/3622
1 comments

Woohoo!

I've been hoping that this guy's Function.bind optimizations land before 6.0: http://benediktmeurer.de/2015/12/25/a-new-approach-to-functi...

But you prompted me to check on the status of his work, and was happy to find a new post: http://benediktmeurer.de/2016/01/14/optimizing-bound-functio...

It looks like V8 will finally be able to inline bound functions (https://codereview.chromium.org/1581343002)! That's huge!