-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-type-systemArea: Type systemArea: Type systemI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
Currently, record field names are stored as strings in the structural types. This is inefficient; every time we want to define a record in the type table we must perform a string comparison against every field name. Instead we can simply intern an entire "fieldset" -- a list of interned field strings, compared by pointer value only -- as we come across it. Then ty_rec would be something like fieldset, [mt]
.
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type systemI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.