Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.enable
enable(stats: false)
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/yjit.rb, line 32
def self.enable(stats: false)
return false if enabled?
at_exit { print_and_dump_stats } if stats
Primitive.rb_yjit_enable(stats, stats != :quiet)
end
Enable YJIT compilation.