🦋 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.
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
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
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
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