in reply to Re^2: Rosetta Code: Long List is Long
in thread Rosetta Code: Long List is Long

What Perl version do you run? The final garbage collecting takes about 6 secs on my Linux machine in both 5.26.1 and blead.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: Rosetta Code: Long List is Long
by Anonymous Monk on Dec 01, 2022 at 16:17 UTC
    > What Perl version do you run?

    On macOS, Perl v5.30.2 via perlbrew. The system Perl v5.18.2 is also 15 seconds apart between "my" and "our". Garbage collection is faster on Linux.