|
01:48
ilbot3 joined
04:53
brrt joined
|
|||
| nine | That's what cron is for ;) | 06:31 | |
|
07:37
zakharyas joined
09:54
zakharyas joined
|
|||
| jnthn | m: say 899494604 / 15829808376 | 12:06 | |
| camelia | rakudo-moar 8ab6db: OUTPUT«0.05682283592» | ||
| jnthn | Now that's what I call speedup | 12:07 | |
| moritz | what did you do? | ||
| nwc10 | something like this? dilbert.com/strip/2001-10-25 | ||
| jnthn | moritz: Taught the multi-dispatch cache to know about named parameters | ||
| So that `my %h = a => 1; my ($a, $b); for ^20000 { $a = %h<a>:exists; $b = %h<b>:exists; }; say $a; say $b` now runs in about 5.7% of the CPU cycles it did previously | 12:08 | ||
| m: say 899494604 R/ 15829808376 | |||
| camelia | rakudo-moar 8ab6db: OUTPUT«17.5985584634» | ||
| jnthn | Spectesting now to see if there's fallout | 12:09 | |
| nwc10 | Intel (and the other CPU manufacturers) aren't going to be happy | ||
| the rest of us owe you a brewery | 12:13 | ||
| although hopefully you'd accept a few barrels, as they're easier to move. | |||
| jnthn | Hm, do I need to put "Has a bar" onto the house-shopping criteria list... :P | 12:14 | |
| timotimo | it should also have a foo, though | 12:15 | |
| jnthn | One spectest fail, but it turns out that my Rakudo is behind and it was a test added very recently | 12:16 | |
| timotimo | fantastic | ||
| dalek | MoarVM: cffe519 | jnthn++ | src/ (3 files): | ||
| MoarVM: Start exploring a new multi-cache design. | |||
| MoarVM: | |||
| MoarVM: This can handle named parameters also, and uses callsite interning to | |||
| MoarVM: do less checks, and a tree rather than array or arrays for similar | |||
| jnthn | That was the merge of the new multi cache into Moar | ||
| nwc10 | sadly I didn't take a picture of the pipe bridge at the local brewery else that would seem appropriate | ||
| (the other side of the road is now building houses) | |||
| although I don't actually know what used to be in the pipes, or whether it was drinkable | |||
|
12:16
dalek joined
|
|||
| timotimo | jnthn: any clue how faster or slower the cache is compared to before the new design? | 12:18 | |
| jnthn | Well, on the benchmark in question just adopting the new cache without updating Rakudo took us from 15,829,808,376 to 15,817,189,228 cycles | 12:20 | |
| timotimo | that's because it says "no" faster? | ||
| jnthn | So "a wee bit faster" | ||
| Well, I don't know :) | |||
| It can be that, or it can be that other times (during compilation etc.) that we hit it, we're getting faster results too | 12:21 | ||
| timotimo | makes sense, yeah | ||
| good work all in all :) :) | |||
| jnthn | I suspect careful further profiling and tweaking can get more wins. | ||
| Also we can do a hash-y thing at multiple levels too | |||
| timotimo | mhm | 12:22 | |
| whereever we have very many different things at the same value | |||
| jnthn | So there's plenty of ways to be more clever. | ||
| At the same time, there's also questions of how big a win it will be | |||
| timotimo | of course | ||
| jnthn | Because when we spesh, we can either inline a multi or at least emit a direct call to said multi in various cases. | 12:23 | |
| In which case we don't hit the cache at all | |||
| (Becase we don't need to look up) | |||
| nwc10 | www.youtube.com/watch?v=37iHSwA1SwE / www.nntp.perl.org/group/perl.perl5....42571.html | 13:42 | |
| (sort of old news) | 13:43 | ||
| (and it was funny in 1980 and 2008. Now, I don't know) | |||
| (and www.youtube.com/watch?v=trw1PbQt_Yo and www.youtube.com/watch?v=gmOvEwtDycs ) | |||
| and sadly probably a whole lot more | |||
|
13:53
brrt joined
|
|||
| nwc10 | jnthn: ASAN tolerates your code. | 13:53 | |
| jnthn | nwc10: \o/ | 14:02 | |
|
14:03
zakharyas joined
|
|||
| jnthn | "It's what made Britain great"...so we need to Make Britain Great Again? :P | 14:03 | |
| nwc10 | yes. obviously s/United Kingom/Great Britain/ (possibly I mean both readings of that as jokes, but I was intending the geographical one) | 14:04 | |
| jnthn | .oO( Disunited kingdom... ) |
14:05 | |
| nwc10 | to paraphrase Steve Jobs, "There's a flag for that": en.wikipedia.org/wiki/File:Union_f...ors%29.svg | 14:25 | |
| (un)doing things in different orders would need brave new flags. | 14:26 | ||
|
15:10
zakharyas joined
16:18
zakharyas joined
16:38
vendethiel- joined
17:24
cognominal joined
17:34
cognominal joined
18:02
domidumont joined
|
|||
| timotimo | after this feature, the next progress report will probably be quite fantastic :) | 18:04 | |
| nwc10 | I hope. | 18:08 | |
| I fear that I've distracted jnthn with Yes Minister | |||
| jnthn | Heh, no, my wife arrived home her trip, so been relaxing, eating, etc. :) | 18:09 | |
|
18:34
brrt joined
19:04
konobi joined,
lnx joined
19:43
vendethiel joined
20:50
Ven_ joined
|
|||