Re: A practical benchmark shows speed challenges for Perl 6

2016-03-29 Thread Timo Paulssen
On 03/30/2016 03:45 AM, Timo Paulssen wrote: > Could you try using $filename.IO.slurp.lines instead of > $filename.IO.lines and see if that makes things any faster? > - Timo Actually, the method on an IO::Handle is called "slurp-rest"; slurp would only work with a filename instead. - Timo

Re: A practical benchmark shows speed challenges for Perl 6

2016-03-29 Thread Timo Paulssen
On 03/29/2016 10:47 PM, Tom Browder wrote: > On Wednesday, February 3, 2016, Tom Browder > wrote: > > I use Perl for heavy duty text processing. A question on Perl Monks > about Perl 5's handling of a large input file got me wondering

Re: A practical benchmark shows speed challenges for Perl 6

2016-03-29 Thread Timo Paulssen
On 02/03/2016 02:59 PM, Tom Browder wrote: > I tried the suggestion from Bart Wiegmans to compile the program: > > $ perl6 --target=mbc --output=read-file-test.moarvm read-file-test.p6 > $ time perl6 read-file-test.moarvm large-1-gb-file.txt > Error while reading from file: Malformed UTF-8 > > So

Re: A practical benchmark shows speed challenges for Perl 6

2016-03-29 Thread Tom Browder
On Wednesday, February 3, 2016, Tom Browder wrote: > I use Perl for heavy duty text processing. A question on Perl Monks > about Perl 5's handling of a large input file got me wondering how the > two Perls compare at the moment. I see no significant improvement using my

Re: [perl #127801] LTA Error when forgetting {} to interpolate range in regex

2016-03-29 Thread Timo Paulssen
If you want to use interpolated ranges, you'll have to use {1..$width}. However, the error message is clearly wrong and could definitely be changed to suggest that change. That's why I changed the title of the bug (or at least tried to)

Re: [perl #127785] where constraint in blockless declaration causes spurious gobbling error

2016-03-29 Thread Trey Ethan Harris
It's not only in -e. I just used that for my example. A file with a unit sub MAIN exhibits the same issue. On Mon, Mar 28, 2016, 17:39 Elizabeth Mattijsen via RT < perl6-bugs-follo...@perl.org> wrote: > Perhaps we should disallow “unit” with -e? > > > On 28 Mar 2016, at 20:18, Trey Ethan Harris

[perl #127801] Malformed Range in regex with interpolated variable

2016-03-29 Thread via RT
# New Ticket Created by Daniel Șuteu # Please include the string: [perl #127801] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127801 > Seems like interpolated values for range boundaries are not parsed correctly. To