Skip to content

Don't store line pragmas in release builds #12017

@davidwengier

Description

@davidwengier

Some low hanging fruit for memory usage, the compiler currently produces and stores line pragma information as part of a RazorCodeDocument, but the information is only used in tests. Even just simply putting #if DEBUG around all of it would be a small, but easy, win.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-compilerUmbrella for all compiler issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions