Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
RubyVM::YJIT.max_compile_time_ns=
max_compile_time_ns=(max_compile_time_ns)
yjit.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/yjit.rb, line 55
def self.max_compile_time_ns=(max_compile_time_ns)
Primitive.rb_yjit_max_compile_time_ns_set(max_compile_time_ns)
end
Set the maximum amount of time YJIT is allowed to spend compiling.