🦋 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
00:05 reportable6 left, linkable6 left 00:07 reportable6 joined, linkable6 joined 01:07 quotable6 left, bisectable6 left, benchable6 left, coverable6 left, reportable6 left, unicodable6 left, tellable6 left, statisfiable6 left, evalable6 left, greppable6 left, bloatable6 left, notable6 left, sourceable6 left, releasable6 left, shareable6 left, linkable6 left, committable6 left, nativecallable6 left 01:08 bisectable6 joined, evalable6 joined, nativecallable6 joined, releasable6 joined, committable6 joined, quotable6 joined 01:09 shareable6 joined, notable6 joined, coverable6 joined, unicodable6 joined, bloatable6 joined, sourceable6 joined, benchable6 joined, tellable6 joined 01:10 statisfiable6 joined, reportable6 joined, greppable6 joined 01:11 linkable6 joined 02:11 statisfiable6 left, bisectable6 left, notable6 left, committable6 left, reportable6 left, tellable6 left, releasable6 left, sourceable6 left, greppable6 left, coverable6 left, shareable6 left, bloatable6 left, linkable6 left, benchable6 left, nativecallable6 left, quotable6 left, evalable6 left, unicodable6 left, sourceable6 joined, reportable6 joined, shareable6 joined 02:12 bisectable6 joined, coverable6 joined, unicodable6 joined, greppable6 joined, quotable6 joined, statisfiable6 joined, nativecallable6 joined, evalable6 joined, bloatable6 joined, linkable6 joined 02:13 committable6 joined, tellable6 joined 02:14 releasable6 joined, notable6 joined, benchable6 joined 02:36 uzl[m] left 02:50 uzl[m] joined 02:51 uzl[m] joined 03:30 frost joined 04:30 evalable6 left, linkable6 left, linkable6 joined 04:31 evalable6 joined 04:43 frost left 05:19 frost joined 06:07 reportable6 left 06:08 reportable6 joined 08:35 sena_kun left 08:36 sena_kun joined
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
09:23 linkable6 left
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.
09:24 linkable6 joined 10:24 greppable6 left, notable6 left, releasable6 left, shareable6 left, statisfiable6 left, linkable6 left, bloatable6 left, unicodable6 left, committable6 left, tellable6 left, reportable6 left, bisectable6 left, benchable6 left 10:25 shareable6 joined, notable6 joined, reportable6 joined, committable6 joined, releasable6 joined, linkable6 joined 10:26 greppable6 joined, benchable6 joined, tellable6 joined 10:27 bisectable6 joined, bloatable6 joined, unicodable6 joined, statisfiable6 joined 10:32 Xliff_ left
Geth Subsets-IO/main: 6c1ece6035 | (Elizabeth Mattijsen)++ | 12 files
First commit after rework
Subsets-IO/main: 8d3827c11b | (Elizabeth Mattijsen)++ | Changes
Subsets-IO/main: 96c4dab584 | (Elizabeth Mattijsen)++ | 2 files
Fix markdown -> pod translation artefact
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
11:02 dogbert17 joined 12:06 reportable6 left 12:09 reportable6 joined
Geth rakudo/rakuast_wip: 11 commits pushed by (Stefan Seifert)++
review: github.com/rakudo/rakudo/compare/6...caa15f6fcf
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
13:43 carlmasak joined, carlmasak left
Geth Test-Builder/main: 2225ed0430 | (Elizabeth Mattijsen)++ | 18 files
First commit after rework
Test-Builder/main: 8b68cecb7c | (Elizabeth Mattijsen)++ | 3 files
14:14 frost left 14:29 ggoebel joined 14:41 Xliff_ joined
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
15:41 linkable6 left, evalable6 left 15:44 ggoebel left, linkable6 joined, evalable6 joined
Geth rakudo: Kaiepi++ created pull request #4936:
[WIP] Enhance interop of generics, roles, and classes, Raku or nqp
nqp: Kaiepi++ created pull request #773:
[WIP] Enhance interop of generics, roles, and classes, Raku or nqp
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
roast: Kaiepi++ created pull request #808:
[WIP] Enhance interop of generics, roles, and classes, Raku or nqp
17:01 vrurg_ joined
Geth rakudo/rakuast: 7a81ea550d | (Stefan Seifert)++ | 2 files
Support colonpairs on ::?FOO type names
17:03 vrurg left
Geth rakudo/rakuast: 04f1c10686 | (Stefan Seifert)++ | 3 files
Support signatures on role definitions
18:07 reportable6 left 18:10 reportable6 joined
Geth rakudo/rakuast: cfcb430e83 | (Stefan Seifert)++ | 4 files
Support private and meta methods
18:28 sena_kun left
Geth Pod-TreeWalker/main: 457e5b0452 | (Elizabeth Mattijsen)++ | 24 files
First commit after rework
Pod-TreeWalker/main: 5960c65436 | (Elizabeth Mattijsen)++ | 3 files
Fix README snafu
Pod-TreeWalker/main: 3b6bdac90d | (Elizabeth Mattijsen)++ | Changes
Date-WorkdayCalendar/main: 50 commits pushed by 12 authors
review: github.com/raku-community-modules/...a58259c645
19:02 sena_kun joined, sena_kun left 19:03 sena_kun joined
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
19:24 sena_kun left 19:30 sena_kun joined
gfldex m: say flat <a b c d e f> >>,>> (1,2,3) 19:31
19:45 dzik852 joined 19:46 dzik852 left 19:51 sena_kun left 19:52 sena_kun joined
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
Date-WorkdayCalendar/main: 2a61f36d58 | (Elizabeth Mattijsen)++ | 2 files
Date-WorkdayCalendar/main: 53dd7dba31 | (Elizabeth Mattijsen)++ | 2 files
Pod rendering tweaks
Xliff_ lizmat: Not if you want the index. 20:51
lizmat key, but that'd be :k, not :v ? 21:44
22:31 discord-raku-bot left 22:32 discord-raku-bot joined 22:36 discord-raku-bot left, discord-raku-bot joined 23:36 linkable6 left, evalable6 left 23:37 linkable6 joined 23:39 evalable6 joined