🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | log inspection situation still under development | For MoarVM see #moarvm
Set by lizmat on 22 May 2021.
japhb Xliff_: I believe that was before ddef64617 which was to reduce the perf regression 00:05
Xliff_ japhb: No, this is after ddef64617. According to git, that commit was made on Saturday. I don't run timings until Sunday. These last were made fairly close to midnight. 09:21
Oddly enough, according to git, my version is 73b43e5f997 09:23
Xliff_ Which is weird, and definitely BEFORE ddef64617 09:23
Which is weird. I didn't update until Sunday.
Soo... late push? 09:24
At any rate, thanks japh.
I'll rerun, later.
Geth Subsets-IO/main: 6c1ece6035 | (Elizabeth Mattijsen)++ | 12 files
First commit after rework
10:44
Subsets-IO/main: 8d3827c11b | (Elizabeth Mattijsen)++ | Changes
1.1
10:51
Subsets-IO/main: 96c4dab584 | (Elizabeth Mattijsen)++ | 2 files
Fix markdown -> pod translation artefact
10:53
releasable6 Next release in ≈3 days and ≈7 hours. 1 blocker. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft 11:00
Geth rakudo/rakuast_wip: 11 commits pushed by (Stefan Seifert)++
review: github.com/rakudo/rakudo/compare/6...caa15f6fcf
12:20
nine Does anyone have a more elegant idea for implementing this? github.com/rakudo/rakudo/commit/54...9f5ebc79e7 12:21
lizmat nine: my only thought would be hashes, but that would slow down parsing 12:30
nine Yeah, hashes feel like overkill here. 12:31
lizmat ah, maybe a .grep, but we don't have that in nqp, right ?
nine no, we don't
lizmat hmm... couldn't you push to @declarations directly in the for/if loop ? 12:32
nine No, because I only know whether to push after processing the last parameter 12:33
After all I need to ensure that none of them is the name I'm looking to push
lizmat isn't it the most common case that all 3 need to be pushed ? 12:34
nine yes it is, why?
lizmat well, maybe just set up @declarations with all 3, then in the loop, if you have a match, *remove* the corresponding one 12:35
nine I think that would make the code even more cumbersome and not really faster 12:36
lizmat would be for the common case ?
you could at least move the flags into the if $!signature, and have an else that does an self.IMPL-WRAP-LIST( [$/,$!,$_] ) 12:37
nine That would be duplicating code (therefore enlarging bytecode size). 12:39
Seems like this is just a case where there is no prettier solution and time is better spent on feature work.
lizmat well, or something to be done later :-)
nine I'm sure there will be a ton of opportunities to micro optimize things in the RakuAST code :D 12:40
lizmat probably :-) 12:41
Geth Test-Builder/main: 2225ed0430 | (Elizabeth Mattijsen)++ | 18 files
First commit after rework
13:45
Test-Builder/main: 8b68cecb7c | (Elizabeth Mattijsen)++ | 3 files
0.0.4
13:47
ggoebel nine: micro-optimiztion... use elsif instead of consecutive if stmts in the for loop? 14:51
nine: shouldn't line 721 be $slash := 0 instead of $underscore? 14:55
nine indeed! 14:56
ggoebel nine: would it save bytecode to use a my $bitmask=7 and use xor to set whether slash, exclamation-mark, or underscore is present... instead of having separate $underscore, $slash, and $exclamation-mark? 15:26
nine I don't know. But I'm pretty sure it wouldn't make the code more clear to read. 15:27
ggoebel certainly less readable ...and premature optimization is the root of all evil 15:28
Geth rakudo: Kaiepi++ created pull request #4936:
[WIP] Enhance interop of generics, roles, and classes, Raku or nqp
16:36
nqp: Kaiepi++ created pull request #773:
[WIP] Enhance interop of generics, roles, and classes, Raku or nqp
16:39
Pod-TreeWalker/main: 7180a128c7 | (Tom Browder)++ | README.md
fix typos
Pod-TreeWalker/main: 675f067f34 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | README.md
Merge pull request #6 from tbrowder/typo

fix typos
rakudo/rakuast: 16 commits pushed by (Stefan Seifert)++
review: github.com/rakudo/rakudo/compare/f...b2a7d9de4d
16:42
roast: Kaiepi++ created pull request #808:
[WIP] Enhance interop of generics, roles, and classes, Raku or nqp
16:43
Geth rakudo/rakuast: 7a81ea550d | (Stefan Seifert)++ | 2 files
Support colonpairs on ::?FOO type names
17:03
Geth rakudo/rakuast: 04f1c10686 | (Stefan Seifert)++ | 3 files
Support signatures on role definitions
17:28
Geth rakudo/rakuast: cfcb430e83 | (Stefan Seifert)++ | 4 files
Support private and meta methods
18:25
Geth Pod-TreeWalker/main: 457e5b0452 | (Elizabeth Mattijsen)++ | 24 files
First commit after rework
18:35
Pod-TreeWalker/main: 5960c65436 | (Elizabeth Mattijsen)++ | 3 files
Fix README snafu
18:39
Pod-TreeWalker/main: 3b6bdac90d | (Elizabeth Mattijsen)++ | Changes
0.0.4
18:43
Date-WorkdayCalendar/main: 50 commits pushed by 12 authors
review: github.com/raku-community-modules/...a58259c645
18:54
Xliff_ How can I zip when one side is larger than the other and still get the same number of elements as the first? 19:18
gfldex m: say flat <a b c d e f> >>,>> (1,2,3) 19:31
lizmat m: say flat <a b c d e f> >>,>> (1,2,3) 19:56
camelia (a 1 b 2 c 3 d 1 e 2 f 3)
Xliff_ m: <a b c d e>.first( 'f' ).say 20:07
camelia Nil
Xliff_ m: <a b c d e>.first( 'c' ).say
camelia c
Xliff_ m: <a b c d e>.first( 'c' , :v).say
camelia c
Xliff_ m: <a b c d e>.first( 'c' , :k).say
camelia 2
lizmat the :v case is a bit overkill if you don't use a regex :-) 20:11
Geth Date-WorkdayCalendar/main: b5df2c4c9b | (Elizabeth Mattijsen)++ | 18 files
First commit after rework
20:14
Date-WorkdayCalendar/main: 2a61f36d58 | (Elizabeth Mattijsen)++ | 2 files
0.1.2
20:21
Date-WorkdayCalendar/main: 53dd7dba31 | (Elizabeth Mattijsen)++ | 2 files
Pod rendering tweaks
20:25
Xliff_ lizmat: Not if you want the index. 20:51
lizmat key, but that'd be :k, not :v ? 21:44