Closed
Description
Ranges are a struct, so it's strange that it would show up so high in the GC stats:
Taking a look, this is mostly due to equality comparisons:
Range is compared all over the place with =
and <>
. This actually leads towards GenericEqualityIntrinsic
, which causes boxing:
And this leads to lots of heap allocations.
Metadata
Metadata
Assignees
Labels
No labels