News for hackers. Stuff that matters.
Re:Currying in JavaScript by hajile on Monday July 20, 2015 @06:52PM (#9919634)
https://web.archive.org/web/20141121220218/http://jsperf.com...

In FF39 on my machine, .bind() is between 5 and 20x slower. In Chrome 43, it's between 2 and 20x slower compared to call and apply and 200x slower compared to normal function calls (I ran several times and don't fully understand why Chrome optimizes the hell out of normal function calls).

I would encourage you to run it for yourself and see.

There are no comments on this comment yet.