We need to implement all of the same recent optimizations to setup_args that were added in 3.4. This largely involves avoiding array and hash allocations. This is done through checking for specific patterns and using a combination of flags and instructions like pushtoarray and concattoarray.
We need to implement all of the same recent optimizations to
setup_args
that were added in 3.4. This largely involves avoiding array and hash allocations. This is done through checking for specific patterns and using a combination of flags and instructions likepushtoarray
andconcattoarray
.In order to test changes, you will need to apply to following diff to
ruby/ruby
(copy into a file likeprism.patch
and rungit apply prism.patch
):Then, to run the individual tests, run: