dalek | ast: 2ab4fd0 | TimToady++ | S04-statements/while.t: tests incorrectly assume loop returns values Loops at statementlist level should always sink themselves. The 'loop' statement was doing this incorrectly, so we didn't notice these tests were wrong. |
00:00 | |
kudo/nom: 589061e | TimToady++ | src/Perl6/Actions.nqp: loop and repeat not properly self-sinking Loops at statementlist level should be self-sinking by default. The loop and repeat forms of loop were not doing this correctly. Fixes RT #127563 and RT #128596. |
00:02 | ||
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=127563 | ||
Link: rt.perl.org/rt3//Public/Bug/Displa...?id=128596 | |||
dalek | ast: fea5672 | TimToady++ | S04-statements/repeat.t: untodo repeat test for RT #128596 |
00:06 | |
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=128596 | ||
Zoffix | Interesting this seems to hang when you add --target=parse: perl6 --target=parse -e 'multi sub infix:<+> (Int:D $a, Int:D $b, :$foo) {say "meow <$foo>"}; say 42 + 1 :foo<42>;' | 00:15 | |
dalek | ast: cbbff3b | TimToady++ | S04-statements/repeat.t: add test for RT #127563 |
00:16 | |
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=127563 | ||
TimToady | m: sub foo($c) { return if $c == 0; { say "B $c"; repeat { say "A $c"; foo($c -1) } while 0 } }; foo(3) | 00:20 | |
camelia | rakudo-moar 589061: OUTPUT«B 3A 3B 2A 2B 1A 1» | ||
travis-ci | Rakudo build passed. TimToady 'loop and repeat not properly self-sinking | 01:01 | |
travis-ci.org/rakudo/rakudo/builds/150189890 github.com/rakudo/rakudo/compare/7...9061eac14f | |||
Zoffix | m: my $sepreg = rx/(<[\\/]>)/; my $filenameW = "c:\\g\\b.mp4"; $filenameW ~~ $sepreg; say $/; | 01:03 | |
camelia | rakudo-moar 589061: OUTPUT«「\」 0 => 「\」» | ||
Zoffix | m: constant $sepreg = rx/(<[\\/]>)/; my $filenameW = "c:\\g\\b.mp4"; $filenameW ~~ $sepreg; say $/; | ||
camelia | rakudo-moar 589061: OUTPUT«Nil» | ||
Zoffix | m: constant sepreg = rx/(<[\\/]>)/; my $filenameW = "c:\\g\\b.mp4"; $filenameW ~~ sepreg; say $/; | 01:04 | |
camelia | rakudo-moar 589061: OUTPUT«「\」 0 => 「\」» | ||
Zoffix | (that's rt.perl.org/Ticket/Display.html?id=127352 ) | ||
m: say ∞.Rat ~~ Rat | 02:50 | ||
camelia | rakudo-moar 589061: OUTPUT«False» | ||
TimToady | m: say ∞.Rat.nude | 02:53 | |
camelia | rakudo-moar 589061: OUTPUT«(Inf 0)» | ||
TimToady | m: say ∞.Rat.WHAT | ||
camelia | rakudo-moar 589061: OUTPUT«(Rational[Num,Int])» | ||
TimToady | uh, I thought we were gonna make that 1/0 | ||
Zoffix | m: class Foo { has Rat $.meow }.new: meow => ∞.Rat | 02:54 | |
camelia | rakudo-moar 589061: OUTPUT«Type check failed in assignment to $!meow; expected Rat but got Rational[Num,Int] (?) in block <unit> at <tmp> line 1» | ||
Zoffix | m: Duration.new: ∞ | ||
camelia | rakudo-moar 589061: OUTPUT«Type check failed in assignment to $!tai; expected Rat but got Rational[Num,Int] (?) in block <unit> at <tmp> line 1» | ||
TimToady | I missed that change, or I'd probably have vetoed it | ||
Zoffix | bisect: say ∞.Rat.nude | 02:56 | |
bisectable | Zoffix: For the given starting points (good=2015.12 bad=589061e), exit code on a 'good' revision is 1 (which is bad), bisecting with inverted logic | ||
Zoffix: bisect log: gist.github.com/5924403201d282e265...1e3850e69a | |||
Zoffix: (2016-05-21) github.com/rakudo/rakudo/commit/1f3ca64 | |||
TimToady | that's the 1/0 semantics, not Inf/0 | 02:58 | |
Zoffix | Looks like this commit introduced the change: github.com/rakudo/rakudo/commit/49...2017d779f3 | 03:00 | |
TimToady | it seems not so useful if it has to go out-of-band | 03:02 | |
the point of 1/0 was to store Inf/NaN in-band, not out-of-band | 03:03 | ||
[Tux] | This is Rakudo version 2016.07.1-129-g589061e built on MoarVM version 2016.07-16-g85b6537 | 08:55 | |
test 15.273 | |||
test-t 7.353 | |||
csv-parser 16.181 | |||
dalek | kudo/nom: 146e185 | lizmat++ | src/core/Iterator.pm: Micro optimize default Iterator methods It only leans towards being faster, but since this is such a hot code path, I hope that it will make a noticeable improvement across the board. |
12:28 | |
lizmat | afk& | 12:31 | |
Zoffix | m: ∞.Int | 13:11 | |
camelia | rakudo-moar 146e18: OUTPUT«Cannot coerce Inf to an Int in block <unit> at <tmp> line 1Actually thrown at: in block <unit> at <tmp> line 1» | ||
Zoffix | m: ∞.WHAT.say | ||
camelia | rakudo-moar 146e18: OUTPUT«(Num)» | ||
Zoffix | Yeah, making .Rat fail sounds good ( rt.perl.org/Ticket/Display.html?id=128857 ) | 13:12 | |
And emails to [email@hidden.address] again don't show up on RT ticket itself :/ | |||
m: say Inf.Rat.Num | 13:14 | ||
camelia | rakudo-moar 146e18: OUTPUT«Inf» | ||
Zoffix | hmm ¯\_(ツ)_/¯ | 13:15 | |
arnsholt | m: say Inf.Rat # ? | 13:17 | |
camelia | rakudo-moar 146e18: OUTPUT«Inf» | ||
arnsholt | m: say Inf.Rat.nude # ? | 13:18 | |
camelia | rakudo-moar 146e18: OUTPUT«(Inf 0)» | ||
b2gills | github.com/rakudo/rakudo/commit/49...2017d779f3 | 16:52 | |
irclog.perlgeek.de/perl6-dev/2016-05-26 | 16:55 | ||
Those are the only links relevant to the current incarnation of Inf.Rat I can find | 16:59 | ||
[Tux] | This is Rakudo version 2016.07.1-130-g146e185 built on MoarVM version 2016.07-16-g85b6537 | 19:32 | |
test 17.173 | |||
test-t 8.151 | |||
csv-parser 18.235 | |||
oops? | |||
This is Rakudo version 2016.07.1-130-g146e185 built on MoarVM version 2016.07-16-g85b6537 | 19:37 | ||
test 15.714 | |||
test-t 7.360 | |||
csv-parser 16.402 | |||
weird | |||
dalek | kudo/nom: c1fdcbb | lizmat++ | src/core/Iterator.pm: Further simplify default Iterator.sink-all |
20:00 | |
kudo/nom: c4892e1 | lizmat++ | src/core/Iterator.pm: Shave a few % off of Iterator.push-all Not a lot, but pretty hot code in iterators |
21:42 | ||
kudo/nom: 0de1391 | lizmat++ | src/core/Iterator.pm: Shave of a few % off of Iterator.push-until-lazy - use the value of the condition check to return in case of lazy it does not need to be Mu, a 1 will also work |
21:53 | ||
lizmat | these changes seems to have improved something like my @a = "foo".comb by a few percent | ||
afk& | 21:54 | ||
timotimo | neat |