Skip to content

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)

Set the maximum amount of time YJIT is allowed to spend compiling.