github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
nine zostay: /win 10 06:46
nwc10 good *, #moarvm 07:23
nine *, nwc10 07:44
nwc10 just when you thought that you knew what was going on, you find github.com/senderista/hashtable-benchmarks 08:27
(actually, I don't know what is going on, so I'm building with GH_DEBUG at 3)
jnthn morning o/ 09:20
lizmat jnthn /o 09:21
nwc10 \o
Geth_ MoarVM: ffontaine++ created pull request #1326:
Fix build with gcc 4.8
10:10
Kaiepi is it bad style to do for loops with pointer arithmetic? 15:45
i grepped for them to see if anyone else does them, but didn't see any
nine Kaiepi: well it is C :) 16:15
timotimo usually use index arithmetic and expect to see compiler to make the same code in the end 22:31
have not yet verified but expected to be just fine 22:35
jnthn I vaguely recall my compilers professor going through an example which was nice and clear using indexes, then one using pointer arith, and I think the punchline was that in that particular example the more readable code came out faster after optimization. 22:45
Of course this won't generalize to every case.
timotimo wonder if you should go look through the code for opportunities to use branchless programming 22:48
and surely theres something for the JIT optimizer to do at some point in the future 22:49