-
Enhancement
-
Resolution: Fixed
-
P4
-
14
-
b19
A typical C1 compilation copies ValueStacks objects 100+ times. Each time we create _locals and _stack Values in the initializer, only to often replace those with newly allocated Values to fit the number of _locals and _stack entries to copy.
By ensuring we initialize _locals and _stack to the needed amount in the initializer, we reduce transient memory use and instruction count of C1 compilations.
By ensuring we initialize _locals and _stack to the needed amount in the initializer, we reduce transient memory use and instruction count of C1 compilations.