-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
compilerRelated to the code generatorRelated to the code generator
Description
Function weight calculation (used for cost/benefit analysis of some optimizations) is not computed correctly. Currently it is loosely based on the total number of function calls, but firstly, the #207 fix changes that in a convoluted way, and secondly, weight of the contexts containing the function calls is not considered (which is worse).
A proper calculation of function weights needs to be implemented. This will require much more detailed analysis, which might be also needed for correctly resolving function calls once types are implemented.
Metadata
Metadata
Assignees
Labels
compilerRelated to the code generatorRelated to the code generator