Re: [perl #131774] [PERF] Simple, if artificial, string concatenation example hogs memory and time

2017-07-20 Thread Lloyd Fournier
I did an experiment a while ago and found that string concatenation in a loop was Ο(n²) in rakudo. I asked about it on irc and jnthn explained to me that this was expected because strings are immutable (and therefore wasn't worth RTing): https://irclog.perlgeek.de/perl6/2015-12-15#i_11720228

Re: [perl #131774] [PERF] Simple, if artificial, string concatenation example hogs memory and time

2017-07-20 Thread Lloyd Fournier via RT
I did an experiment a while ago and found that string concatenation in a loop was Ο(n²) in rakudo. I asked about it on irc and jnthn explained to me that this was expected because strings are immutable (and therefore wasn't worth RTing): https://irclog.perlgeek.de/perl6/2015-12-15#i_11720228

[perl #131767] Test.pm6 should redirect diagnostics to stdout instead of stderr

2017-07-20 Thread Zoffix Znet via RT
On Wed, 19 Jul 2017 16:46:20 -0700, c...@zoffix.com wrote: > Gonna take care of this in the next 26hr I lied. Need more time. The fix I planned to do solved the issue, but now it's reporting the subtest as an unexpectedly-passing TODO heh :P Gonna think about it for another day or two,

[perl #131767] Test.pm6 should redirect diagnostics to stdout instead of stderr

2017-07-20 Thread Zoffix Znet via RT
On Wed, 19 Jul 2017 16:46:20 -0700, c...@zoffix.com wrote: > Gonna take care of this in the next 26hr I lied. Need more time. The fix I planned to do solved the issue, but now it's reporting the subtest as an unexpectedly-passing TODO heh :P Gonna think about it for another day or two,

[perl #131774] [PERF] Simple, if artificial, string concatenation example hogs memory and time

2017-07-20 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #131774] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131774 > >From IRC: https://irclog.perlgeek.de/perl6-dev/2017-07-19#i_14893012

Re: Memory usage

2017-07-20 Thread Gabor Szabo
On Thu, Jul 20, 2017 at 12:37 PM, Timo Paulssen wrote: > On 19/07/17 21:52, Gabor Szabo wrote: >> Hi, >> >> is it possible to get the size of memory used by the current Perl 6 >> process? (From inside the code) >> Is it possible to get the size of the individual variables? >> >>

Re: Why is my class rejecting new()?

2017-07-20 Thread Richard Hainsworth
Futher to Timo's explanation, below is a rewrite of your code to consider. The documentation reference is https://docs.perl6.org/language/classtut#Constructors class Etran { has $.dstamp is rw; has $.folio is rw; has $.ticker is rw; has $.way; # only used at

Re: Memory usage

2017-07-20 Thread Timo Paulssen
On 19/07/17 21:52, Gabor Szabo wrote: > Hi, > > is it possible to get the size of memory used by the current Perl 6 > process? (From inside the code) > Is it possible to get the size of the individual variables? > > Gabor I'm not aware of something cross-platform that rakudo offers for memory use

Re: Why is my class rejecting new()?

2017-07-20 Thread Timo Paulssen
On 20/07/17 11:51, Mark Carter wrote: > > I have a class definition: > > class Etran { > has $.dstamp is rw; > has $.folio is rw; > has $.ticker is rw; > has $.qty is rw; > has $.amount is rw; > has $.desc is rw; > > method new($line) { >

Re: [perl #131758] [BUG] running script exit crash after update rakudo

2017-07-20 Thread Timo Paulssen
I wrote a fix, could you try downgrading to 2017.06, running the script, applying the patch to your 2017.07, making sure the Makefile itself gets regenerated via Configure.pl, and install, then see if the program still crashes? https://github.com/rakudo/rakudo/commit/02667bd890 the commit

Re: [perl #131758] [BUG] running script exit crash after update rakudo

2017-07-20 Thread Timo Paulssen via RT
I wrote a fix, could you try downgrading to 2017.06, running the script, applying the patch to your 2017.07, making sure the Makefile itself gets regenerated via Configure.pl, and install, then see if the program still crashes? https://github.com/rakudo/rakudo/commit/02667bd890 the commit

Why is my class rejecting new()?

2017-07-20 Thread Mark Carter
I have a class definition: class Etran { has $.dstamp is rw; has $.folio is rw; has $.ticker is rw; has $.qty is rw; has $.amount is rw; has $.desc is rw; method new($line) { my ($cmd, $dstamp, $folio, $ticker, $qty,