Issue with inline function performance on chainshape, VS2010

Sorry I had posted this in bugs and feedback but it is probably the wrong section, so here it is again:

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.

To clarify, the bad performance only happens when a flat rectangle makes significant contact in multiple points with the chainshape.
Unless the end users of your game really care about inline functions for some reason, how about just disabling them during development, since your target is not Windows anyway. This really sounds like a job for the MSVC team rather than an issue with Box2D.
Well, I would like to get the maximum performance possible, which inlined functions can help with.

Original thread: https://box2d.org/forum/viewtopic.php?t=9662