Skip to content

Inconsistent compile times with multidimensional arrays #103477

Closed
@infalmo

Description

@infalmo

UPD: See comment

Compiling (rust nightly, release mode) this takes 4x as much time as this. The only difference between the two snippets is the size of the array (20 vs 100), which is surprising, since one would expect the compilation of the bigger array to take more time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-arrayArea: `[T; N]`C-bugCategory: This is a bug.I-compiletimeIssue: Problems and improvements with respect to compile times.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions