Runtime optimized/non-optimized
Nils H. Busch
nilsb at cns.mpg.de
Thu Apr 25 16:45:33 UTC 2002
Hello,
I have a general question, I could not exactly answer myself.
Why is the runtime of Pooma code so much longer when running in debug
mode (-g) compared to optimized code (-Ox), order of magnitude at least
10x? This concerns both apps compiled in both ways as also the library
itself.
Even for parts that are not Pooma related, there is a great runtime
difference.
I suspect, it has to do with the template expression mechanism, but I
would like to understand exactly what the compiler does so differently.
Thanks.
--
Nils H. Busch
Max-Planck-Institute of Cognitive Neuroscience
phone: ++49 (341) 9940-335 fax: ++49 (341) 9940-204
e-mail: nilsb at cns.mpg.de
More information about the pooma-dev
mailing list