🦋 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.
lizmat Files=1353, Tests=117194, 296 wallclock secs (35.42 usr 10.11 sys + 4069.35 cusr 340.90 csys = 4455.78 CPU) 08:03
m: say (2, 5, -3).are ~~ UInt # this feels like a bug? 08:06
camelia True
lizmat nine ^^ 08:07
nine m: say Int ~~ UInt 09:19
camelia True
nine lizmat: see commit f9d34a9e8314dc74a1966edb982cc217d455215f 09:22
Aren't commit messages that only tell you what changed, but not why it changed, great?
Geth rakudo/lizmat-optimize-clone: fa81f48d78 | (Elizabeth Mattijsen)++ | src/Perl6/bootstrap.c/BOOTSTRAP.nqp
Fix segfault for test-t

Even though previously make test and make spectest passed, running test-t would cause a segfault. So revert to using more temporary variable, but give them more indicative names.
Saves about 6 msecs on test-t. Note that this method is bright red in profiles, so it doesn't get optimized in any way shape or form.
10:28
MasterDuke lizmat: interestingly, while a profile of `sub foo($a) { $a + 1 }; my &bar; &bar = &foo.clone for ^10_000_000; say now - INIT now; say bar(4)` shows Block.clone (i.e., gen/moar/BOOTSTRAP/v6c.nqp:2308) as red, a spesh log shows it getting both speshed and jitted 11:59
maybe it's confused because it looks like later it's getting inlined into the mainline 12:00
nine lizmat: do you have a backtrace of that segfault? 14:14
lizmat alas, no
MasterDuke lizmat: how reproducible was the segfault. i just ran test-t in a loop on your branch (minus segfault fix commit) for a while and everything was fine 18:56
lizmat 100% reproducible
MasterDuke fine here, built moarvm with both gcc and clang 19:00
vrurg lizmat: BTW, investigating the `require` concurrency issues and it turns out CUR::FileSystem still has big issues. The lock doesn't help. Just to keep you informed. 21:33