Visual studio "optimization' wtf
#7
Finally, after all this time, I found out what the culprit was (kinda - I know how it manifests and how to work around it, but not the root cause). It was in the project setting, but something weird seems to be going on:
In the Project options -> Configuration Properties -> C/C++ -> Optimization -> Optimization, it said "Maximize speed (/O2)", and the value was not bold, indicating a default of some kind. However, when the compiler ran, it got the "Disabled (/Od)" option instead, because that is the true default. Dunno where the mixup came from, but when I changed the value to "Full Optimization (/Ox)", it suddenly generates fully optimized code. Yay! Smile
Wow! Just... wow! The generator is now soooo fast!!! There's about a 6x speedup! I get more than 100 chunks generated per second, instead of the regular ~20 per second.
Reply
Thanks given by:


Messages In This Thread
Visual studio "optimization' wtf - by xoft - 07-04-2012, 05:55 AM
RE: Visual studio "optimization' wtf - by xoft - 07-04-2012, 05:41 PM
RE: Visual studio "optimization' wtf - by xoft - 07-05-2012, 12:49 AM
RE: Visual studio "optimization' wtf - by xoft - 07-05-2012, 10:27 PM
RE: Visual studio "optimization' wtf - by xoft - 07-28-2012, 09:18 PM
RE: Visual studio "optimization' wtf - by xoft - 07-29-2012, 12:57 AM



Users browsing this thread: 2 Guest(s)