Enums that don't carry anything in their arms shouldn't use shape glue #2916
Labels
A-codegen
Area: Code generation
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
Milestone
Both
foo
andbar
generate calls toupcall_cmp_type
. It'd be nice if, for performance, the compiler could recognise thatfast
can be represented by a primitive and skip the upcalls.Related to #2132.
The text was updated successfully, but these errors were encountered: