mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-21 21:52:04 +02:00
Use Ruby 3 defaults for JIT (instead of 2.6)
This commit is contained in:
parent
c3b5623a3d
commit
f5af9d66e6
2 changed files with 6 additions and 6 deletions
|
@ -300,15 +300,15 @@
|
|||
|
||||
// Determines how many compiled methods that Ruby
|
||||
// will keep in its cache.
|
||||
// (default: 1000)
|
||||
// (default: 100)
|
||||
//
|
||||
// "JITMaxCache": 1000,
|
||||
// "JITMaxCache": 100,
|
||||
|
||||
// Determines how many times a function has to be
|
||||
// called before it is compiled.
|
||||
// (default: 5)
|
||||
// (default: 10000)
|
||||
//
|
||||
// "JITMinCalls": 5,
|
||||
// "JITMinCalls": 10000,
|
||||
|
||||
|
||||
// SoundFont to use for midi playback (via fluidsynth)
|
||||
|
|
|
@ -93,8 +93,8 @@ void Config::read(int argc, char *argv[]) {
|
|||
{"rubyLoadpath", json::array({})},
|
||||
{"JITEnable", false},
|
||||
{"JITVerboseLevel", 0},
|
||||
{"JITMaxCache", 1000},
|
||||
{"JITMinCalls", 5}
|
||||
{"JITMaxCache", 100},
|
||||
{"JITMinCalls", 10000}
|
||||
}).as_object();
|
||||
|
||||
#define GUARD(exp) \
|
||||
|
|
Loading…
Add table
Reference in a new issue