[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
[email protected] 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:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next