github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
00:34 MasterDuke left 00:50 dogbert17 joined 00:54 dogbert11 left 01:28 dogbert17 left 01:29 dogbert17 joined 02:45 leont left 06:05 Geth left, Geth joined 07:14 domidumont joined 08:14 sena_kun left 08:35 squashable6 left, squashable6 joined 08:37 patrickb joined 09:19 zakharyas joined 09:23 BinGOs left 09:29 bingos joined 09:39 domidumont left 09:51 zakharyas left 09:54 zakharyas joined 10:10 zakharyas left 10:19 zakharyas joined 10:55 sena_kun joined 12:12 leont joined 12:25 squashable6 left, squashable6 joined 12:37 zakharyas left 12:51 domidumont joined 13:08 lizmat_ joined 13:10 lizmat left 14:45 leont left 14:46 leont joined, bingos is now known as BinGOs 15:08 frost-lab left 15:28 zakharyas joined 15:35 lizmat_ is now known as lizmat 18:09 zakharyas left 18:23 domidumont left 18:31 zakharyas joined
lizmat Something weird going on with: my @a = ^100000; @a.sort: *.Str 18:37
when you profile that, it appears that Mu.Bool takes about 50% of CPU of that code ? 18:38
it *is* green in the profile, but it is not getting inlined 18:39
it dispatches to Int.Bool but the proto is getting run over and over again
Int.Bool only takes about 4%, so fixing this could make sorting about 2x as fast ?
instigated by stackoverflow.com/questions/664966...es-sorting 18:40
ok, small correction: I was running this with having changed the proto to () instead of (|) 18:41
with () in the sig of the proto, it still takes 1/3 of CPU 18:42
18:57 MasterDuke joined 19:39 zakharyas left 20:29 zakharyas joined 20:34 zakharyas left 20:39 zakharyas joined 20:53 patrickb left 20:57 patrickb joined 21:04 MasterDuke left 21:08 MasterDuke joined 21:13 patrickb left 21:31 MasterDuke left 21:35 MasterDuke joined 21:40 zakharyas left 22:40 dogbert11 joined 22:41 dogbert11 left 22:42 dogbert11 joined, dogbert17 left 22:45 dogbert11 left 22:46 dogbert11 joined 23:31 vrurg left 23:53 vrurg joined