🦋 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.
00:01 sjn joined 00:07 reportable6 left 00:09 reportable6 joined 00:47 MasterDuke left
SmokeMachine lizmat: sorry the delay… but I want to use it to concert code to Red::AST, that way it will be much easier to convert something like: `Model.^all.grep: *.column eq “bla”`. Today we have many workarounds to do that… 01:15
01:47 linkable6 left, evalable6 left 01:48 linkable6 joined 01:49 evalable6 joined 02:55 linkable6 left, benchable6 left, evalable6 left, bisectable6 left, releasable6 left, bloatable6 left, reportable6 left, unicodable6 left, tellable6 left, statisfiable6 left, quotable6 left, notable6 left, coverable6 left 02:56 bisectable6 joined, evalable6 joined 02:57 benchable6 joined, quotable6 joined, notable6 joined, bloatable6 joined, reportable6 joined, tellable6 joined 02:58 linkable6 joined, statisfiable6 joined, releasable6 joined, coverable6 joined, unicodable6 joined 03:46 Kaipei left 05:07 Kaipei joined 05:27 Kaipei left, Kaipei joined 06:06 reportable6 left, reportable6 joined
lizmat Files=1353, Tests=117197, 284 wallclock secs (34.91 usr 9.69 sys + 3951.02 cusr 332.05 csys = 4327.67 CPU) 08:11
SmokeMachine: so if I understand correctly, you'd like to get to the inside of the *.column eq "bla" in your example 08:17
SmokeMachine lizmat: yes... but that's just an example... the block could be much more complex... 08:18
lizmat gotcha
08:19 frost joined
SmokeMachine lizmat: does that make sense? 08:19
lizmat yes, it does :-) 08:20
basically you want a local version of a static optimizer for the block that you call the .grep with
SmokeMachine not only for grep, but yes... 08:22
currently I have to do this bit workaround: github.com/FCO/Red/blob/master/lib...q.pm6#L141
github.com/FCO/Red/blob/master/lib...m6#L56-L96 08:23
08:38 sena_kun left 08:39 sena_kun joined 08:57 Kaipei left 08:58 Kaipei joined 10:18 Altai-man joined 11:24 Altai-man left 12:07 reportable6 left 12:09 reportable6 joined
SmokeMachine lizmat: do you think that's possible? 13:24
lizmat not 100% sure the ASTs will still be around by the time you get a Callable 13:25
SmokeMachine if not, I'll probably need to create a custom compiler class to search for every method called on a model, track it and change it on `grep`s `maps, etc... possible? 13:33
Geth nqp: f3054503fd | (Stefan Seifert)++ | tools/templates/MOAR_REVISION
Bump MoarVM to get fix for missing write barriers
14:33
rakudo: 1f37c1c7bd | (Stefan Seifert)++ | tools/templates/NQP_REVISION
Bump NQP to get a MoarVM fix for missing write barriers
14:34
[Coke] ls 14:41
ww
14:54 carlmasak joined 14:59 frost left 15:50 Kaipei left 15:54 Kaipei joined 16:22 carlmasak left 16:24 carlmasak joined 17:39 carlmasak left 18:04 sena_kun left 18:06 sena_kun joined 18:08 reportable6 left 18:09 reportable6 joined 19:09 evalable6 left, linkable6 left 19:10 linkable6 joined 19:11 evalable6 joined 22:17 discord-raku-bot left, discord-raku-bot joined 22:44 discord-raku-bot left 22:45 discord-raku-bot joined