summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-11-06 13:03:02 -0800
committerJeremy Evans <code@jeremyevans.net>2023-12-07 11:27:55 -0800
commit5e33f2b0e4c262ed0c7e524b11d020438c41f532 (patch)
tree0692f0120d7b5dc8ac08c5034d992f5c90f9249b /test/ruby
parent95615872e32156d9add8fd3afd136dd73fd6aa1a (diff)
Eliminate array allocation for f(*a, kw: 1)
In cases where the compiler can detect the hash is static, it would use duphash for the hash part. As the hash is static, there is no need to allocate an array.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions