|Keep It Simple, Stupid|
Re^5: Unusual sorting requirements; comparing three implementations.by BrowserUk (Pope)
|on Oct 24, 2012 at 18:40 UTC||Need Help??|
Not sure if your computer's architecture is radically different to mine or something, ...
The first difference I notice is that your fastest iterating solution -- 671/s -- is only half as fast as my fastest iterating solution -- 1100/s.
I seriously doubt my 3 y/o Core2Quad Q6600 @2.4GHz is twice as fast as your hardware.
So the major difference probably comes down to the fact that I couldn't be bothered to install yet another slow-accessor constructor, so I manually code my Person Class:
After that, why your results should be relatively different to mine I have no idea:
But mine are consistent:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.