Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-lwp-gsoc, 2014-09-18

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:14 FROGGS_ joined #perl6-lwp-gsoc
07:00 FROGGS joined #perl6-lwp-gsoc
07:09 sergot o/
07:09 sergot have you seen this: https://github.com/sergot/http-useragent/issues/35 ?
11:40 FROGGS joined #perl6-lwp-gsoc
12:42 sergot FROGGS: do you have any idea?
12:43 FROGGS sergot: plenty, but nothing that helps us right away :o)
12:44 sergot ok :)
13:36 sergot hmmm
13:37 sergot FROGGS: do you have some time now?
13:38 sergot https://github.com/sergot/p6-rosettacode-test/blob/master/api.p6
13:39 sergot do you know maybe why is it so cpu/memory-consuming?
13:39 sergot this script is not complete yet
13:40 sergot I mean, I know #56 line is faulty
13:40 sergot but dont know why :))
13:41 FROGGS hmmm, no clue... but you can --profile it, no?
13:41 sergot I'm afraid I cannot, my os kills it
13:42 FROGGS :/
13:42 sergot hmm, i have an idea
13:42 FROGGS if $code ~~ /\<lang \s+ perl6\>(.*)\<\/lang\>/ {
13:42 FROGGS do a .*?
13:42 FROGGS because .* is veeeeery slow when the string in $code is very large
13:43 FROGGS and from-json might be slow too
13:43 FROGGS but I'm too distracted right now
13:53 sergot if I comment out the if $code ~~ ... it is ok, so it can be .*
13:53 sergot will try something other
13:54 FROGGS did you test ".*?" ?
13:54 sergot doing it now
13:59 sergot yeah, it behaves better :)
14:00 sergot this regex is wrong anyways
14:37 FROGGS[mobile] joined #perl6-lwp-gsoc
16:36 FROGGS joined #perl6-lwp-gsoc
16:37 FROGGS yes yes :o)
16:37 FROGGS err, ww
18:10 dalek joined #perl6-lwp-gsoc
19:19 dalek joined #perl6-lwp-gsoc

| Channels | #perl6-lwp-gsoc index | Today | | Search | Google Search | Plain-Text | summary