3 ms·
Interestingly enough, the fancy approach for calling "super()" is actually prohibitively expensive ... making any method call in a subclass far slower than it o
by jashkenas 16y ago
Interestingly enough, the fancy approach for calling "super()" is actually prohibitively expensive ... making any method call in a subclass far slower than it otherwise could be. I don't think it's a viable option for a baseline library.
http://www.broofa.com/2009/02/javascript-inheritance-performance/ http://www.broofa.com/2009/02/javascript-inheritance-perform...