On Tue, Mar 29, 2016 at 10:29 PM, Timo Paulssen wrote:
> 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?
...
> Actually, the method on an IO::Handle is called "slurp-rest"; slurp
> On 30 Mar 2016, at 13:40, Tom Browder wrote:
> On Tue, Mar 29, 2016 at 10:29 PM, Timo Paulssen wrote:
>> 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?
> ...
>> Actually,
Cross-posting to the compiler group-
On Wed, Mar 30, 2016 at 8:10 AM, Elizabeth Mattijsen wrote:
> If you know the line endings of the file, using
> IO::Handle.split($line-ending) (note the actual character, rather than a
> regular expression) might help. That will read in the file in chunks o
On 30/03/16 13:40, Tom Browder wrote:
On Tue, Mar 29, 2016 at 10:29 PM, Timo Paulssen wrote:
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?
...
Actually, the method on an IO::Han
> On 30 Mar 2016, at 16:06, yary wrote:
>
> Cross-posting to the compiler group-
>
> On Wed, Mar 30, 2016 at 8:10 AM, Elizabeth Mattijsen wrote:
>> If you know the line endings of the file, using
>> IO::Handle.split($line-ending) (note the actual character, rather than a
>> regular expression
On Wed, Mar 30, 2016 at 3:20 PM, Elizabeth Mattijsen wrote:
> Thanks for your thoughts!
>
> I’ve implemented $*DEFAULT-READ-ELEMS in
> https://github.com/rakudo/rakudo/commit/5bd1e .
>
> Of course, all of this is provisional, and open for debate and bikeshedding.
Thanks! And that was fast!
All
On Fri Mar 25 11:53:59 2016, alex.jakime...@gmail.com wrote:
> Let's start with an example that works:
>
> Code:
> my @a;
> @a[^8] = 5, 6;
> say @a
>
> Result:
> [5 6 (Mu) (Mu) (Mu) (Mu) (Mu) (Mu)]
>
> That's fine. But let's try an infinite range now:
>
> Code:
> my @a;
> @a[^∞] = 5, 6;
> say @
On 03/30/2016 04:11 PM, yary wrote:
On Wed, Mar 30, 2016 at 3:20 PM, Elizabeth Mattijsen wrote:
Thanks for your thoughts!
I’ve implemented $*DEFAULT-READ-ELEMS in
https://github.com/rakudo/rakudo/commit/5bd1e .
Of course, all of this is provisional, and open for debate and bikeshedding.
On Tue, Mar 29, 2016 at 10:29 PM, Timo Paulssen wrote:
> 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-re