Closed theolivenbaum closed 4 years ago
This will enable us to avoid the costs of starting a new instance of the compiler for every step (avoiding the cost of jitting for example), and of loading assemblies in memory for Cecil, used here:
https://github.com/theolivenbaum/h5/blob/ba27f3936aa878d26f51e2cbdfe994b948bb363b/H5/Compiler/Translator/Emitter/Emitter.Properties.cs#L140
Initial experiments suggests we can easily achieve >60% reduction in compilation time from not having to reload assemblies.
Closed with https://github.com/theolivenbaum/h5/pull/13/commits
This will enable us to avoid the costs of starting a new instance of the compiler for every step (avoiding the cost of jitting for example), and of loading assemblies in memory for Cecil, used here:
https://github.com/theolivenbaum/h5/blob/ba27f3936aa878d26f51e2cbdfe994b948bb363b/H5/Compiler/Translator/Emitter/Emitter.Properties.cs#L140