Hi, I am using Visual Studio 2010 on a modern quad core intel machine and Box2D v2.3.0 official. The situation I am simulating is a flat board running over a bumpy surface defined by a chainshape. Normally this runs at several thousand frames/sec, however if I allow any inline functions in release build ( /Ob1 or /Ob2 in VS2010) the fps goes down to something like 5-10 and the game is unplayable. Anyone else come across this sort of issue? I narrowed it down to this optimization, I have basically all other optimizations on except for OpenMP (Ox, SSE2 etc) and it runs fine. It is just the inline functions seem to be causing some sort of serious loop issue or numerical breakdown. The actual target for my game is not windows, but this behavior is still very worrying.
Allowing inline function optimization in VS2010 ruins perf
Bugs, Requests, and FeedbackOriginal thread: https://box2d.org/forum/viewtopic.php?t=9652