🦋 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: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
00:00 reportable6 left 00:02 reportable6 joined 01:57 kurahaupo left 02:01 kurahaupo joined 02:03 kurahaupo left 02:08 kurahaupo joined 02:10 kurahaupo left 02:15 kurahaupo joined 02:40 kurahaupo left 02:45 kurahaupo joined 02:47 kurahaupo left 02:52 squashable6 left 02:55 squashable6 joined 02:57 kurahaupo joined 03:11 kurahaupo left 03:17 kurahaupo joined 03:19 kurahaupo left 03:24 kurahaupo joined 03:32 kurahaupo left 03:42 kurahaupo joined 03:48 squashable6 left, squashable6 joined 04:13 kurahaupo left 04:18 kurahaupo joined 04:34 kurahaupo left 05:06 kurahaupo joined 05:57 djinni` left 06:00 reportable6 left, reportable6 joined 06:02 djinni` joined 07:04 kurahaupo left 07:09 kurahaupo joined 07:46 kurahaupo left 07:51 kurahaupo joined 07:58 sena_kun joined, Xliff joined 08:18 kurahaupo left 08:22 kurahaupo joined 08:25 kurahaupo left, Xliff left 08:30 kurahaupo joined
nine I'm on a train! And just 4 more to catch to make it to the Raku Core Summit :) 08:35
08:39 kurahaupo left 08:44 kurahaupo joined
lizmat nine: safe travels! 09:16
09:19 squashable6 left 09:21 squashable6 joined 09:32 sena_kun left 09:40 kurahaupo left 09:43 kurahaupo joined 09:49 Xliff joined 10:05 patrickb left 10:07 patrickb joined 10:19 kurahaupo left 10:21 lizmat_ joined 10:25 lizmat left, lizmat_ left, lizmat joined 10:29 kurahaupo joined 10:34 sena_kun joined 10:38 kurahaupo left
lizmat is sitting outside with patrickb waiting for the RCS to really take off! 10:45
10:49 kurahaupo joined 10:51 lizmat left 10:52 lizmat joined 11:00 kurahaupo left 11:05 kurahaupo joined 11:21 kurahaupo left 11:26 kurahaupo joined
Geth rakudo/lizmat-Hashray: ba04322f8f | (Elizabeth Mattijsen)++ | 8 files
Rename Pod::Data to Hashray

Because it is a more generally useful data structure.
The Hashray acts as a Hash when accessed as an Associative. And as an Array when accessed as a Positional.
... (7 more lines)
11:31
rakudo: lizmat++ created pull request #5267:
Rename `Pod::Data` to `Hashray`
11:48 kurahaupo left 11:51 kurahaupo joined 11:52 kurahaupo left, kurahaupo joined 11:55 kurahaupo left 12:00 reportable6 left, sena_kun left, Altai-man joined, kurahaupo joined 12:01 reportable6 joined 12:20 kurahaupo left 12:23 kurahaupo joined 12:25 kurahaupo left, kurahaupo joined 13:10 ab5tract left
Geth nqp/main: 43a4328d31 | (Elizabeth Mattijsen)++ | src/QRegex/NFA.nqp
Don't clone, but iterate

As inspired by github.com/rakudo/rakudo/issues/42...1384820489 but sadly this only appears to have a marginal effect on the golfed code (with memory going from 2.41GB to 2.39GB
13:18
nine lizmat: I'd guess that what takes so much memory is not the @substates array itself, but the stored items 13:40
13:49 guifa joined 13:52 guifa_ left
[Coke] any devs going to the TPRF conference in Canada? 14:07
lizmat nine: yes, but still it felt worthwhile anyway 14:31
jdv: could it be you forgot to tag MoarVM / nqp 2023.06 ? 14:59
jdv huh? 15:01
it was may 2 days ago so its 05
lizmat yeah duh, realized it now :-) 15:03
thanks again for all the hard work ... 15:05
[Coke] jdv++ 15:08
jdv no big deal
timo nine: it looks kind of like the substates array isn't at fault after all? this code should also only run when the regex is compiled, so running a string with more "d" characters, or re-running the same code shouldn't increase memory usage from that since the code shouldn't run more than once anyway? 15:20
the code spends about half its time in mo 15:24
memmove
15:29 codesections1 joined
nine Do substates themselves contain arrays? 15:30
timo hm, probably 15:31
lizmat yes 15:33
nine My guess is that those are the majority of the leak
15:36 codesections1 left 15:37 Xliff left
timo look at the stacktrace again that led to the line in question, it's in compiling the program 15:46
15:59 kurahaupo left 16:25 kurahaupo joined 16:33 codesections left 16:46 kurahaupo left 17:24 ab5tract joined 17:32 Altai-man left 17:38 ab5tract left 17:39 kurahaupo joined
nine Has anyone tried that golf on JVM? 17:57
18:00 reportable6 left 18:02 reportable6 joined
nine Has anyone tried that golf on JVM? 18:06
LOL I just looked up and noticed that I had to exit the train right then :) 18:07
18:22 sena_kun joined 18:39 Xliff joined 19:38 kurahaupo left, kurahaupo joined 20:12 kurahaupo left 20:23 kurahaupo joined 20:47 kurahaupo_ joined 20:49 kurahaupo left 20:51 kurahaupo_ left, kurahaupo joined 21:22 kurahaupo left 21:27 kurahaupo joined 21:33 kurahaupo left, kurahaupo_ joined 21:34 kurahaupo_ left 21:35 guifa left 22:00 kurahaupo joined 22:06 kurahaupo left 22:10 kurahaupo joined 22:20 sena_kun left 22:41 kurahaupo_ joined 22:43 kurahaupo left, kurahaupo_ is now known as kurahaupo