4 ms·
I find it odd that you rail against absolutes and then immediately turn around and defend your own. If you meant that new is faster today, say so. That's not t
by mikeash 12y ago
I find it odd that you rail against absolutes and then immediately turn around and defend your own.
If you meant that new is faster today, say so. That's not the same as "will always outperform".
- phpnode 12y agoI said there are few absolutes, not that there are no absolutes :) `new Foo` has simpler semantics than `Object.create(FooProto)` and therefore I believe it will always be faster. That performance gap can of course narrow, but I think `new` will always be the fastest. Happy to be proved wrong.