Module erg_compiler::optimize
source · Structs
- Optimizes a
HIR
. This should not be used in the context of sequential execution (e.g. REPL), since it assumes that the given code is all there is. The optimizer determines the optimization level usingopt_level
incfg: ErgConfig
.