Skip to content

Make check_match not copy the AST #17253

Closed
@ghost

Description

After #13316 check_match is a major bottleneck in the cycle time of rustc taking 4 times more time than it did before (18-19 s vs 4.5 s).

The main problem is the static inliner which creates new AST nodes. It should be possible to make it not do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions