Page 1 of 1

Best compile flags for VC 2005

PostPosted: 19 Jan 2006, 13:03
by Anonymous
Hi all,
I would like to know from you experts what are the compile flags you use with Visual C++ 2005, for maximum speed. I've got a nice 15% speedup over the GCC 3.4.x, but I'm sure it is possible to get a bit more, because the only flags I'm using with VC are: /O2 and /G7 :)
Thanks in advance

Re: Best compile flags for VC 2005

PostPosted: 19 Jan 2006, 19:53
by Dann Corbit
By far, the biggest boost is from profile guided optimization.

Give the program a good hour playing.