On Mon, 13 Sep 2010, Nadim Khemir wrote:

The surprise was that there was an up to 6% speed difference and the
biggest surprise is the inversion of which method is fastest.

I'm curious, someone care to comment?

In any real application, it's highly unlikely that the spped will be affected by this. Note that either way, you're doing approximately 700,000 of these operations per second!

Compare that to some real work an app does, like algorithmic calculations, database queries, networking request, etc. Those things tend to be in the range of 100s or 1000s per second, and that's where your app spends its time.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Reply via email to