[perl #130982] [PERF] "for $a..$b -> $i { ... }" loops are sometimes much slower than c-style loops

2017-11-18 Thread Daniel Green via RT
On Sun, 12 Mar 2017 07:27:37 -0700, allber...@gmail.com wrote: > On Sun, Mar 12, 2017 at 12:48 AM, Lloyd Fournier > wrote: > > > perl6-loop: 84.8739988 > > c-loop: 67.65849241 (1.25 times faster) > > native-loop: 0.4981954 (135.81 times faster) > > > > Still quite a lot of optimization to be don

Re: [perl #132447] IO.slurp throws exception when run in threads

2017-11-18 Thread Dan Zwell via RT
Oh, and when the list of filenames is the simpler `"$*TMPDIR/RT132447.test" xx 100`, the problem also appears, but it seemed to take many more iterations to crash. That could be just chance, though. On Sat, Nov 18, 2017 at 4:01 PM Dan Zwell wrote: > Thanks for taking the time to look into this!

Re: [perl #132447] IO.slurp throws exception when run in threads

2017-11-18 Thread Dan Zwell via RT
Thanks for taking the time to look into this! I can't reproduce it with that snippet, even if I make the file nonempty. But I can reproduce it with the following two snippets. (I could not reproduce when I populated the input file in the same script that does the await loop.) perl6 -e '"$*TMPDIR/R

Re: [perl #132447] IO.slurp throws exception when run in threads

2017-11-18 Thread Dan Zwell
Thanks for taking the time to look into this! I can't reproduce it with that snippet, even if I make the file nonempty. But I can reproduce it with the following two snippets. (I could not reproduce when I populated the input file in the same script that does the await loop.) perl6 -e '"$*TMPDIR/R

Re: [perl #132447] IO.slurp throws exception when run in threads

2017-11-18 Thread Dan Zwell
Oh, and when the list of filenames is the simpler `"$*TMPDIR/RT132447.test" xx 100`, the problem also appears, but it seemed to take many more iterations to crash. That could be just chance, though. On Sat, Nov 18, 2017 at 4:01 PM Dan Zwell wrote: > Thanks for taking the time to look into this!

Re: [perl #132352] Set operators unfriendly to mutable types

2017-11-18 Thread Elizabeth Mattijsen via RT
Hmmm…. I guess this one does… good point! :-) > On 18 Nov 2017, at 17:57, Aleks-Daniel Jakimenko-Aleksejev via RT > wrote: > > Does it mean that this now needs tests? > > On 2017-10-30 06:42:25, elizabeth wrote: >>> On 24 Oct 2017, at 12:56, Zoffix Znet via RT >> follo...@perl.org> wrote: >>

Re: [perl #132352] Set operators unfriendly to mutable types

2017-11-18 Thread Elizabeth Mattijsen
Hmmm…. I guess this one does… good point! :-) > On 18 Nov 2017, at 17:57, Aleks-Daniel Jakimenko-Aleksejev via RT > wrote: > > Does it mean that this now needs tests? > > On 2017-10-30 06:42:25, elizabeth wrote: >>> On 24 Oct 2017, at 12:56, Zoffix Znet via RT >> follo...@perl.org> wrote: >>

[perl #132352] Set operators unfriendly to mutable types

2017-11-18 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Does it mean that this now needs tests? On 2017-10-30 06:42:25, elizabeth wrote: > > On 24 Oct 2017, at 12:56, Zoffix Znet via RT > follo...@perl.org> wrote: > > On Mon, 23 Oct 2017 09:12:58 -0700, sml...@gmail.com wrote: > >> On Mon, 23 Oct 2017 05:23:55 -0700, c...@zoffix.com wrote: > >> The "s

[perl #125021] [JVM] Failing test in S05-modifier/perl5_5.t for regex with lazy quantifier on alternation

2017-11-18 Thread Christian Bartolomaeus via RT
This works now on the JVM backend as well. I've unfudged the old tests and 've added one test with a P6 regex to S05-metasyntax/regex.t with commit https://github.com/perl6/roast/commit/ae57169b24 I'm closing this ticket as 'resolved'.