develooper Front page | perl.perl6.users | Postings from September 2019

Re: anything faster than say [+] lines?

Thread Previous | Thread Next
From:
Marc Chantreux
Date:
September 28, 2019 08:40
Subject:
Re: anything faster than say [+] lines?
Message ID:
20190928084019.GA4074@prometheus.u-strasbg.fr
hello,

> though that works here, admittedly, my p6 is sort old
> This is Rakudo version 2018.03 built on MoarVM version 2018.03
> implementing Perl 6.c.

this lead me test it with the docker rakudo-star (2019.03).

  time docker run rakudo-star bash -c 'seq 100000000|
    perl6 -e ''slurp.split("\n")>>.Int.sum.say'''

My error message desapeared but the response time of the script made by
liz is more than one hour.

regards
marc

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About