View Single Post
Old 01-10-2008, 01:19 AM   #4 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
Originally Posted by RobertK View Post
Salathe, can you confirm that on your system that the throughputs of the hashes are near identical? I'm not really worried about the time it takes beyond the fact it is a sign of the throughput drop, typically.
I ran both the old and new codes ten times each then averaged the results to get a reasonable impression of times for each test. The results can be found here: http://salathe.googlecode.com/svn/tests/compare.txt

For my tests at least, the new code (the object version) consistently gave very, very slightly faster results but in the grand scheme of things I think it's fair to say that the two test types behave approximately equally with most results being within a couple of microseconds of each other.
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
RobertK (01-10-2008)