Code speed (and back to the memory leaks...)

bearophile bearophileHUGS at lycos.com
Thu Apr 15 11:35:33 PDT 2010


> This is the middle parts (the two loops) of Yzlm.objectReputationUpdate compiled with ldc, this is one of the two main hot spots of the program, the you can compared this asm with the asm of the same part from the C++ version:

To find why the C++ code is faster you can show me the equivalent C++ code that I can compile myself, or you can compile your C++ code and show me the asm of the two functions that are hot spots.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list