Created
September 14, 2022 17:16
-
-
Save byroot/646317c92c6188b9eeef5a0db26e2262 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RubyVM::InstructionSequence.compile_option = { peephole_optimization: false } | |
class RubyVM::InstructionSequence | |
def self.load_iseq(path) | |
RubyVM::InstructionSequence.compile_file(path) | |
end | |
end | |
# Can be enabled with RUBYOPT="-r /path/to/disable_opt.rb" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment