On Feb 18, 8:48 am, Arian Stolwijk <[email protected]> wrote:
> Even faster:http://jsperf.com/moo-hasclass-alternative/3

I wasn't aware of this jsperf.com thing. (Again, I've been out of the
JavaScript loop for years.) I see that you've made the function even
more efficient by taking out a nested function call, but that tiny
overhead doesn't bother me as much as having inefficient logic to
begin with.

But look at Opera! Man, is the removal of one nested function depth
that important? That should make us pause if every function call in
Opera has that much overhead!

Reply via email to