[ruby-core:88565] Re: [Ruby trunk Feature#15010] Reduce allocation for rest parameters

From: Eric Wong <normalperson@...>
Date: 2018-08-20 06:32:40 UTC
List: ruby-core #88565
chopraanmol1@gmail.com wrote:
> Yes, it can be further optimized for keyword argument and argument setup for the block. I'll modify the patch in a day or two. 

Cool!  It's probably worth implementing something like
rb_ary_shift_m (but without the return value) to avoid looping
on rb_ary_shift.

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next