diff options
| author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-11-29 15:02:32 -0500 |
|---|---|---|
| committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-11-29 16:20:30 -0500 |
| commit | 8234763816eecd42da3b5e893cd236b64e6fc0fb (patch) | |
| tree | 06582ae779605f2862514e81468c889d37a9374e /include/ruby/assert.h | |
| parent | 853fd44745241398d182d2af3ebdea10640ebf2e (diff) | |
[PRISM] Compile empty array as newarray 0
Prior to this commit, we were compiling an empty array as a
duparray of [] which meant we were allocating a new value
unnecessarily. With this commit, we emit a newarray with size 0
instead.
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions
