2.1: Compiler!
Rhizo 2.0 -> 2.1
Compile Mode
- Compile Mode
- you can enable Compiler Mode via
rhino.local.properties
file in the root of your game folder. - Under Compiler Mode, Rhizo will compile JS codes into native codes, providing performance improvement.
- You can also change optimization level in
rhino.local.properties
. Higher optimization level can usually provide better performance, at the cost of compile time(which is usually already consumed during startup/reload) - NOTE: enabling Compiler Mode will make error reporting less useful, since the line number will be wrong, and file name will always be "SourceFile"
- you can enable Compiler Mode via
- you can also toggle mapping generation in
rhino.local.properties
, but the output file is useless currently- generated mapping file is designed for a more complex remapper implementation, and is scheduled to be available in the next release
- mapping file used by our temporary remapper solution is now driven by
.csv
file, for readablility.
Full Changelog: 2.0...2.1