Skip to content

Only apply last use move optimizations to types that actually benefit from them #2041

Closed
@marijnh

Description

@marijnh

For types that have no cleanup, they may actually add overhead (allocating a temporary) instead of help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions