fun project - improving calcHash

Martin Nowak code at dawg.eu
Mon Jun 24 06:29:42 PDT 2013


On 06/24/2013 03:43 AM, Juan Manuel Cabo wrote:
>> I used words and lines from the complete works of Shakespeare.
>> I tested separating the loop from the switch, as was suggested
>> in Timon Gehr post. It didn't improve the speed when compiled
>> with "g++ -O3", though it improved it a bit without -O3.
>>
This is limited by the memory bandwidth so your testing the wrong thing.



More information about the Digitalmars-d mailing list