Skip to content

Unnecessary encoding of def_span query in metadata #81476

Open
@oli-obk

Description

@oli-obk

There were some perf regressions due #80191 can be seen here

Originally posted by @rylev in #80919 (comment)

We need to find out which kind (as what variant of def_kind) of things now get their def_span encoded and stop doing that.

Bonus points for also checking which additional DefKinds we can exclude to minimize the amount of spans that are put into metadata (someone remind me why we need spans in metadata at all?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-metadataArea: Crate metadataI-slowIssue: Problems and improvements with respect to performance of generated code.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions