Re:Replace CoffeeScript with ES6
by cozuya on Thursday January 29, 2015 @10:01PM
(#8970256)
If you want to call something that increases performance by 50% a hack, feel free, but I'm going to use that hack until that's not the case.
[ Parent
| on HN ]
Do you have a source? I don't understand how a closure over a single variable (this), instead of reassigning the value of the variable in a specific scope, would result in a 50% improvement in performance. Also -- the phrase "50% improvement in performance" itself is kind of dubious, no?
I wrote a simple benchmark, and `bind` seems to be mind-boggling slow.