summaryrefslogtreecommitdiff
path: root/benchmark/hash_aref_sym_long.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-03-24 01:57:34 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-03-24 09:47:22 +0900
commit9112cf4ae7f7ea8ab33c282aa02eec812421aeab (patch)
tree1ccef0a305de038f6d5e3c2cffe85d809f958fdf /benchmark/hash_aref_sym_long.rb
parent1357b14750275d2f2d13896688064e1a243007dd (diff)
downloadruby-9112cf4ae7f7ea8ab33c282aa02eec812421aeab.tar.gz
regint.h: Reduce the frequency of rb_thread_check_ints
edc8576a65b7082597d45a694434261ec3ac0d9e checks interrupt at every backtrack, which brought significant overhead. This change makes the check only once every 128 backtracks.
Diffstat (limited to 'benchmark/hash_aref_sym_long.rb')
0 files changed, 0 insertions, 0 deletions