> On 21 Mar 2017, at 10:00, ToddAndMargo <toddandma...@zoho.com> wrote:
> on this command:
> perl6 -e 'my @foo = <a b c d e f g>; @foo.splice(0,3); say @foo;'
> Are you actually moving one set up data into another set's
> element/slot/index, or are you just rearranging the pointers
> to each element?

How is that important?

If you want to know what is faster: 3x shift or 1x splice, benchmark!   :-)


Reply via email to