Skip to content

[BUILD/FLAGS] Whole Program Optimization/Global Optimization #13

@TheRedDaemon

Description

@TheRedDaemon

MSVC supports a optimization that considers the entire program. To activate this, the two following flags have to be set for the target:

  • Compiler: /GL
  • Linker: /LTCG
    According to ChatGPT, the compiler will emit another intermediate format that the linker completes.

This might reduce overhead on some of the proxy/utility functions, but I have no idea what other effects they might have, considering that the actual game logic should not be optimized beyond what they had in there code.

This issue is meant as a reminder, until the later stages, when we either start using it or have ruled it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions