summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2024-05-10 12:51:30 -0700
committerJeremy Evans <code@jeremyevans.net>2024-05-21 05:33:57 +0900
commitf021bcdbbe69d324b36c03dab4d2347608658b86 (patch)
tree8b4e11f3e9f0649692331c81d7fca8102217a20a /test/ruby/test_rubyoptions.rb
parent7c2c528d350cb5497a2358bdb5684c4822b0f239 (diff)
Add allocation tests for ruby2_keywords
This tests ruby2_keywords flagged methods, as well as passing ruby2_keywords flagged hashes to other methods. Some of the behavior here is questionable, such as allocating different numbers of objects depending on whether a block is passed or whether YJIT is enabled. I think there are likely ways to eliminate allocations in certain cases. However, this gives us a baseline and shows us where it is possible to make improvements.
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
0 files changed, 0 insertions, 0 deletions