diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2024-05-10 12:51:30 -0700 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2024-05-21 05:33:57 +0900 |
| commit | f021bcdbbe69d324b36c03dab4d2347608658b86 (patch) | |
| tree | 8b4e11f3e9f0649692331c81d7fca8102217a20a /test/ruby/test_rubyoptions.rb | |
| parent | 7c2c528d350cb5497a2358bdb5684c4822b0f239 (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
