summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2024-02-29 10:57:25 -0800
committerJeremy Evans <code@jeremyevans.net>2024-03-15 08:23:41 -0700
commitaceee71c35e0b387691836e756b4e008efd84cf1 (patch)
tree26346d4fd131a7b7bcc8247bc0811fb38594c051 /lib
parenta83703af79dca708736a00d45917f19a3dd698bb (diff)
Avoid a hash allocation when calling def f(kw: 1) with keyword splat
c20e819e8b04e84a4103ca9a036022543459c213 made calling a method that accepts specific keywords but not a keyword splat with a keyword splat allocating a hash when it previously did not. Instead of duplicating the hash and removing hash entries, lookup in the provided hash without duplicating the hash, and track to make sure all hash entries in the hash were looked up (extra hash entries would be errors).
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions