Geschrieben von:/Posted by: Ross Boyd at 01 August 2004 10:54:57:
Hi Dann,
Maybe this is on the verge of being OT but I'm sure some WB programmers would be interested in your reply. Your reputation precedes you as an itinerant tweaker hence my question is directed to you.
I have recently upgraded my lowly P3-450 to XP for the simple benefit of being able to run the _free_ MSVC++ Toolkit 2003. Previously TRACE was compiled with Borland's _free_ BCC55 which is clearly slower than MSVC.
Now that everything is compiling sweetly under MSVC, would you care to share your favourite compiler switches?
Currently I use this...
cl /G6 /EHs /EHc /Ox /Gr /Oy /Ob2 trace.cpp
It gives me about 16% speed improvement over BCC55... but I want MORE!!
All of TRACE's code is 'included' in the one source file in the hope that the global optimisations will work some magic...
Thanks in advance for your help!
Ross