Reference value of structs not optimized or inlined?

bearophile bearophileHUGS at lycos.com
Wed Aug 26 11:54:56 PDT 2009


Jeremie Pelletier:

> Just to stress out how important this is; I have a small loop calculating a 3x2 rotation matrix used with either Direct2D or Cairo every 10ms which transform the text "Hello World" in a window. CPU usage drops by 7-10% when using C style pointers instead of D storage classes. I haven't even optimized with SSE and whatnot yet, just removing the stack frame initialization overhead.<

Are you in a situation where you use the LDC compiler?

Bye,
bearophile



More information about the Digitalmars-d mailing list