Project

General

Profile

« Previous | Next » 

Revision da7b9478

Added by alanwu (Alan Wu) over 1 year ago

YJIT: Pass nil to anonymous kwrest when empty (#9972)

This is the same optimization as e4272fd29 ("Avoid allocation when
passing no keywords to anonymous kwrest methods") but for YJIT. For
anonymous kwrest parameters, nil is just as good as an empty hash.

On the usage side, update splatkw to handle nil with a leaner path.