Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2015-11-25

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:09 vendethiel joined #moarvm
06:38 dalek MoarVM: db1f759 | hoelzro++ | src/core/callsite.h:
06:38 dalek MoarVM: Change MVM_callsite_num_nameds to take a const MVMCallsite
06:38 dalek MoarVM:
06:38 dalek MoarVM: MVM_callsite_num_nameds doesn't need to change the given callsite,
06:38 dalek MoarVM: so we can have the compiler guarantee that so no mistakes are made
06:38 dalek joined #moarvm
06:56 domidumont joined #moarvm
07:01 domidumont joined #moarvm
08:12 FROGGS joined #moarvm
08:38 Ven joined #moarvm
08:46 zakharyas joined #moarvm
09:07 kjs_ joined #moarvm
09:50 brrt joined #moarvm
09:50 brrt good * #moarvm
09:51 nwc10 good *, brrt
09:51 brrt good * nwc10
09:52 brrt in the region of the topic of jits, and especially pypy...
09:52 brrt i recently claimed that i got a 5x speedup on a pypy program compared to a python program
09:52 brrt well, i implemented an improved algorithm that runs in  O(n log n), rather than O(n^2)
09:53 nwc10 and now your office is much colder?
09:53 brrt not only is cpython now faster than pypy original; cpython is faster than pypy, period
09:53 nwc10 and quieter
09:53 brrt yes....
09:53 brrt algorithms always win from runtime speed, it seems
09:54 nwc10 OK, odd. If pypy can win on the inefficient algorithm, why can't it also win on the efficient algorithm? Does it now never hit a JIT path?
09:54 brrt it just runs too fast
09:55 brrt the original algorithm did a million comparisons, this one just a few thousands
09:59 brrt btw, wrt to the illumos build failure, i have a simple and stupid suspicion
10:00 brrt my suspision is that a): lua and minilua use scanf and friends for parsing formats;
10:00 brrt b): illumos / solaris scanf doesn't understand negative hexadecimals
10:09 dalek joined #moarvm
10:19 arnsholt I got a 10x (or more, I suspect, for larger problems) using PyPy. But that problem is inherently O(n^2) or thereabouts, so no algorithm win to be had =)
10:51 brrt joined #moarvm
11:39 Ven joined #moarvm
13:22 kjs_ joined #moarvm
13:35 dalek joined #moarvm
14:29 Ven joined #moarvm
14:56 Hotkeys joined #moarvm
16:51 domidumont joined #moarvm
16:57 domidumont joined #moarvm
16:58 domidumont joined #moarvm
17:12 FROGGS joined #moarvm
17:55 diakopter omg
17:58 vendethiel joined #moarvm
17:58 timotimo OYG?
18:11 psch joined #moarvm
18:30 Hotkeys left #moarvm
18:35 dalek joined #moarvm
18:39 kjs_ joined #moarvm
18:49 diakopter timotimo: it's just, core setting compilation spends 6.6% of time in the MVMHash repr ops
18:50 timotimo yeah, we use hashes in a big portion of things
18:50 diakopter -_- # lolz
18:50 timotimo have you tried using --target=<different values> to find out what parts add what amount of stuff where?
18:50 timotimo that may be interesting to know
18:51 diakopter no, that's a stellar idea; I'll try it
18:51 timotimo also, does leaving out the optimizer with --optimize=off remove a big chunk of hashes or is it the same overall?
18:53 diakopter timotimo: what's your theory there
18:54 timotimo the optimizer digs around a whole bunch in symbol tables and it also uses some hashes to store information about what things have what properties
18:54 diakopter actually most of the hash usage seems to occur during parsing
18:56 diakopter do we dedupe strings on compunit compilation
18:56 diakopter (I don't remember!)
18:56 timotimo yes, we have a string heap that is backed by a hash to do just that
18:57 diakopter oh yeah.
18:57 diakopter and now I remember [re-?]implementing it. O_O
19:04 diakopter yeesh, seems uthash has fallen behind in the latest benchmark comparisons
19:05 timotimo oh?
19:05 timotimo i don't know how exactly we do our hashing with the new grapheme stuff, tbh
19:25 leont joined #moarvm
19:26 japhb diakopter: Link to said benchmarks?
19:27 diakopter http://www.tommyds.it/doc/benchmark is the one I looked at most recently
19:28 diakopter I guess it's not that recent
19:32 kjs_ joined #moarvm
21:08 kjs_ joined #moarvm
21:15 diakopter___ joined #moarvm
22:58 FROGGS joined #moarvm
23:12 FROGGS joined #moarvm
23:32 FROGGS joined #moarvm

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary