Skip to content

Introduce 32 byte limit to pass-by-value parameters #2153

@tcharding

Description

@tcharding

Types should be pass-by-value if they are Copy and <= 32 bytes. If they are > 32 bytes they should be pass-by-reference.

But for things over 32 bytes we may handle them on a case-by-case basis.

Possibly use the clippy lint linked to in discussion below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.0Issues and PRs required or helping to stabilize the API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions