Showing results for 
Search instead for 
Did you mean: 

Efficiency of Cartesian to Spherical coordinate conversion

Go to solution

When debugging is disabled, most likely all you see is constant folding due to use of diagram constants (the result never changes so the compiler calculates it only once). You should also wire some output to prevent "dead code elimination". If the result is not used anywhere, all code leading to it is eliminated by the compiler.


(If you come to NI week, come to my talk in room 15. :D)

0 Kudos
Message 11 of 11