Use Ruby 3 defaults for JIT (instead of 2.6)

This commit is contained in:
Struma 2021-01-09 18:44:31 -05:00 committed by Roza
parent c3b5623a3d
commit f5af9d66e6
2 changed files with 6 additions and 6 deletions

View file

@ -300,15 +300,15 @@
// Determines how many compiled methods that Ruby // Determines how many compiled methods that Ruby
// will keep in its cache. // will keep in its cache.
// (default: 1000) // (default: 100)
// //
// "JITMaxCache": 1000, // "JITMaxCache": 100,
// Determines how many times a function has to be // Determines how many times a function has to be
// called before it is compiled. // called before it is compiled.
// (default: 5) // (default: 10000)
// //
// "JITMinCalls": 5, // "JITMinCalls": 10000,
// SoundFont to use for midi playback (via fluidsynth) // SoundFont to use for midi playback (via fluidsynth)

View file

@ -93,8 +93,8 @@ void Config::read(int argc, char *argv[]) {
{"rubyLoadpath", json::array({})}, {"rubyLoadpath", json::array({})},
{"JITEnable", false}, {"JITEnable", false},
{"JITVerboseLevel", 0}, {"JITVerboseLevel", 0},
{"JITMaxCache", 1000}, {"JITMaxCache", 100},
{"JITMinCalls", 5} {"JITMinCalls", 10000}
}).as_object(); }).as_object();
#define GUARD(exp) \ #define GUARD(exp) \