Profiling Perl 6 code

2014-12-30 Thread Gabor Szabo
The Perl 6 Maven site is a static site generated by some Perl 6 code. Currently it takes about 8 minutes to regenerate the 270 pages of the site which is quite frustrating. Is there already a tool I could use to profile my code to see which part takes the longest time so I can focus my optimizatio

[perl #86906] Parser not panicking in Grammar.pm

2014-12-30 Thread Christian Bartolomaeus via RT
This fails now with a typed exception "X::Syntax::AddCategorial::MissingSeparator" (commit https://github.com/rakudo/rakudo/commit/e9ea2dc0c5). I added a test to S06-operator-overloading/sub.t with commit https://github.com/perl6/roast/commit/d84f6bcbb3 I'm closing this ticket -- please reope

Re: Is this a strange regex bug in my code?

2014-12-30 Thread Gabor Szabo
if not $tmpl ~~ m/\.txt$/ { ... } fails the same way. if not $tmpl ~~ /\.txt$/ { ... } works like a charm. Gabor On Tue, Dec 30, 2014 at 9:48 AM, Patrick R. Michaud wrote: > I suspect it may be some weirdness with the way that $_ is being handled > in smartmatching, then. > > I think