Skip to content

Look into /d2FuncCache1 (MSVC) #17662

Open
Open
@cmb69

Description

@cmb69

Description

I've just stumbled upon this undocumented compiler option which we apply unconditionally, and found https://devblogs.microsoft.com/cppblog/visual-studio-2017-throughput-improvements-and-advice/#compiler-back-end (section "Inline Reader Cache"). So using that cache might improve build time, but may yield worse optimization (https://devblogs.microsoft.com/cppblog/inlining-decisions-in-visual-studio/#we-inline-pre-optimized-code). It might be a good idea to revise the usage (especially N=1).

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions