🦋 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.
Xliff p6-Glib-Suite timings for v2022.03-231-g522c5fc83. 02:29
Total number of projects: 31
Total non-parallel compile times: 9258.21s (298.651935 avg)
Total parallel compile times: 1378.31511139s (44.46177778677 avg)
lizmat Files=1353, Tests=117192, 293 wallclock secs (35.65 usr 9.87 sys + 4062.91 cusr 337.05 csys = 4445.48 CPU) 08:39
MasterDuke m: my $a; loop (my Int $i = 0; $i <= 1_000_000_000; $i += 1000) { $a := $i ** -2 }; say now - INIT now 08:43
camelia 1.550610147
MasterDuke locally i have that dropping from ~1.4s down to ~0.5s...let's see what the tests say now... 08:44
yup, passes spectest and stresstest 08:49
Geth rakudo: MasterDuke17++ created pull request #4908:
Fix exponentiation by large negative Ints and speedup exponentiation by any sized negative Ints
09:22
gfldex m: (1, 1 xx *).flat.is-lazy.say; 15:21
camelia False
gfldex Should that be True?
m: constant @suffix = flat(<st nd rd >, 'th' xx *).lazy; .say for ((1..∞) Z~ @suffix)[^10]; 15:37
camelia 1st
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
gfldex ^^^ That's what I want to do and I don't feel like I should need the explicit `.lazy`-call.
gfldex .oO(Getting lazyness right is hard work!) 15:38
[Tux] Rakudo v2022.04-18-g51c00fddd (v6.d) on MoarVM 2022.04-1-g4e2eab056
csv-ip5xs0.781 - 0.830
csv-ip5xs-205.033 - 5.159
csv-parser3.650 - 3.900
csv-test-xs-200.413 - 0.420
test6.398 - 6.971
test-t1.451 - 1.494
test-t --race0.845 - 0.857
test-t-2021.697 - 22.139
test-t-20 --race6.671 - 6.744
15:59
japhb gfldex: (Not that it's the thing you were actually asking about, but ...) That logic for English suffixes is wrong past 20. The pattern repeats for every group of 10 *except* the teens, which all use 'th'. And then of course it all repeats again for every group of 100. 16:01
(What is it with humans and having an exception to every rule?) 16:02
gfldex japhb: Don't worry. I wont let rules-inventing humans stop me from having fun with Raku. :) 16:39
japhb gfldex: :-D 18:30
Geth rakudo: vrurg++ created pull request #4909:
Fix for positional argument binding
22:07
Geth rakudo/master: 4 commits pushed by (Daniel Green)++, MasterDuke17++ 22:14