Skip to content

Should STL specifically consider /Ob1 ? #619

@AlexGuteniev

Description

@AlexGuteniev

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)

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