summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/numeric/phase_spec.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2024-05-11 12:12:52 -0700
committerJeremy Evans <code@jeremyevans.net>2024-05-21 05:33:57 +0900
commit2433b57b6a3a6f8e65f61c27d707e1c7f5407986 (patch)
tree1c296abcc567a614be6e788ec575fbc2fd3e2e53 /spec/rubyspec/core/numeric/phase_spec.rb
parentf021bcdbbe69d324b36c03dab4d2347608658b86 (diff)
Avoid hash allocation for empty ruby2_keywords flagged keyword hash
If the method being called does not have a keyword splat parameter, there is no point in allocating the hash, because the hash will be unused (as empty keyword hashes are ignored).
Diffstat (limited to 'spec/rubyspec/core/numeric/phase_spec.rb')
0 files changed, 0 insertions, 0 deletions