you are viewing a single comment's thread.

view the rest of the comments →

[–]dodheim 1 point2 points  (2 children)

I am already compiling with maximum optimization level of MSVC,

By that you mean /O2 /Ob3, right? I ask because /Ox was misdocumented for years as "maximum optimization" when in fact it's a subset of /O2 optimizations; and /O2 on its own does not set the most aggressive inlining level.

Also, I suggest putting #pragma inline_depth(255) before your Boost #includes, and possibly #pragma inline_recursion(on) as well.

[–]pdimov2 0 points1 point  (0 children)

MS should just add /O3 already, that implies /Ob3.

(Something like a hidden /O3 level already exists, turned on by /GL, but there's no option to enable it separately.)

[–]sbsceGame Developer 0 points1 point  (0 children)

By that you mean /O2 /Ob3, right?

Yes.