Skip to content

Should STL specifically consider /Ob1 ? #619

Description

This is not an issue, just a question.

Should STL be optimized for /Ob1 build?

I mean if release is built with /O2 and /Ob1, a significant part of STL is inlined, since it is inline members of template class. Still template functions defined outside classes are not marked as inline and thus are not inlined.

(A project may be built with /O2 + /Ob1 if it does not benefit from /Ob2, and has degraded performance comparing to /Ob1. On the other hand, it is rather unusual case)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedresolvedSuccessfully resolved without a commit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions