2016-08-10T00:13:01Z ASau quit (Read error: No route to host) 2016-08-10T00:14:38Z ASau joined #sbcl 2016-08-10T00:37:26Z oleo quit (Read error: Connection reset by peer) 2016-08-10T00:37:57Z oleo joined #sbcl 2016-08-10T00:37:57Z oleo quit (Changing host) 2016-08-10T00:37:57Z oleo joined #sbcl 2016-08-10T00:54:33Z nzambe quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-08-10T00:55:47Z nzambe joined #sbcl 2016-08-10T01:08:24Z ASau quit (Remote host closed the connection) 2016-08-10T01:22:32Z em1l joined #sbcl 2016-08-10T01:25:28Z em1l_ quit (Ping timeout: 244 seconds) 2016-08-10T01:26:55Z ASau joined #sbcl 2016-08-10T02:00:21Z stassats quit (Ping timeout: 276 seconds) 2016-08-10T02:01:09Z ASau quit (Remote host closed the connection) 2016-08-10T02:58:06Z eschatologist quit (Quit: ZNC 1.6.3+deb1 - http://znc.in) 2016-08-10T03:17:39Z eschatologist joined #sbcl 2016-08-10T03:19:16Z shka_ joined #sbcl 2016-08-10T04:21:50Z Cooler_ quit (Ping timeout: 258 seconds) 2016-08-10T04:57:50Z oleo quit (Quit: Leaving) 2016-08-10T05:21:37Z minion quit (Remote host closed the connection) 2016-08-10T05:21:43Z minion joined #sbcl 2016-08-10T06:08:39Z shka_ quit (Ping timeout: 276 seconds) 2016-08-10T06:10:54Z Cooler_ joined #sbcl 2016-08-10T07:00:01Z vydd quit (Remote host closed the connection) 2016-08-10T07:19:40Z joshe quit (Ping timeout: 264 seconds) 2016-08-10T07:19:55Z joshe joined #sbcl 2016-08-10T07:20:12Z vydd joined #sbcl 2016-08-10T07:20:35Z vydd quit (Read error: Connection reset by peer) 2016-08-10T07:21:01Z vydd joined #sbcl 2016-08-10T07:38:50Z angavrilov joined #sbcl 2016-08-10T07:41:08Z nzambe quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-08-10T07:59:02Z gingerale joined #sbcl 2016-08-10T09:15:03Z barbone quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-10T09:25:17Z sjl quit (Ping timeout: 250 seconds) 2016-08-10T09:26:07Z DeadTrickster joined #sbcl 2016-08-10T09:31:37Z sjl joined #sbcl 2016-08-10T09:43:45Z attila_lendvai joined #sbcl 2016-08-10T09:43:45Z attila_lendvai quit (Changing host) 2016-08-10T09:43:45Z attila_lendvai joined #sbcl 2016-08-10T09:44:09Z Bike quit (Quit: wake) 2016-08-10T09:59:51Z sjl quit (Ping timeout: 264 seconds) 2016-08-10T10:03:29Z sjl joined #sbcl 2016-08-10T10:30:59Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-10T10:34:55Z sjl quit (Ping timeout: 252 seconds) 2016-08-10T10:51:50Z stassats joined #sbcl 2016-08-10T11:23:09Z sjl joined #sbcl 2016-08-10T11:42:20Z whiteline quit (Read error: Connection reset by peer) 2016-08-10T12:02:55Z whiteline joined #sbcl 2016-08-10T12:06:35Z whiteline quit (Client Quit) 2016-08-10T12:06:48Z whiteline joined #sbcl 2016-08-10T12:38:12Z DeadTrickster quit (Ping timeout: 258 seconds) 2016-08-10T13:08:10Z DeadTrickster joined #sbcl 2016-08-10T13:37:14Z oleo joined #sbcl 2016-08-10T13:46:32Z nzambe joined #sbcl 2016-08-10T14:29:05Z milanj joined #sbcl 2016-08-10T14:35:00Z stassats quit (Ping timeout: 276 seconds) 2016-08-10T14:36:16Z stassats joined #sbcl 2016-08-10T15:05:26Z sjl quit (Ping timeout: 250 seconds) 2016-08-10T15:19:07Z vydd quit (Remote host closed the connection) 2016-08-10T15:21:32Z edgar-rft quit (Quit: edgar-rft) 2016-08-10T15:39:13Z sjl__ joined #sbcl 2016-08-10T15:45:53Z vydd joined #sbcl 2016-08-10T15:47:18Z DGASAU quit (Read error: Connection reset by peer) 2016-08-10T15:48:33Z DGASAU joined #sbcl 2016-08-10T15:55:39Z attila_lendvai joined #sbcl 2016-08-10T15:55:39Z attila_lendvai quit (Changing host) 2016-08-10T15:55:39Z attila_lendvai joined #sbcl 2016-08-10T16:27:52Z stassats quit (Ping timeout: 240 seconds) 2016-08-10T16:33:18Z stassats joined #sbcl 2016-08-10T16:36:52Z sjl__ is now known as sjl 2016-08-10T16:42:34Z pkhuong quit (Ping timeout: 244 seconds) 2016-08-10T16:44:34Z pkhuong joined #sbcl 2016-08-10T16:44:59Z pkhuong is now known as Guest45959 2016-08-10T16:52:12Z Bike joined #sbcl 2016-08-10T16:55:58Z shka_ joined #sbcl 2016-08-10T17:03:44Z stassats quit (Ping timeout: 250 seconds) 2016-08-10T17:05:32Z stassats joined #sbcl 2016-08-10T17:05:41Z scymtym: our MAKE-INSTANCE compiler-macro may be leaking something. compiling a file containing lots of (eval-when (:load-toplevel :execute) … (make-instance )) seems to get progressively slower with each compilation. compilation takes 30 seconds after a few compilations whereas compilation with (notinline make-instance) takes 80 ms 2016-08-10T17:06:49Z scymtym will try to investigate when child sleeps 2016-08-10T17:16:09Z scymtym: initial experiment: paste.lisp.org/display/322693 2016-08-10T17:30:41Z sjl quit (Read error: Connection reset by peer) 2016-08-10T17:37:26Z Guest45959: scymtym: what are the odds we just have a really bad hash function for `info` (: 2016-08-10T17:41:55Z Guest45959 is now known as pkhuong 2016-08-10T17:43:38Z pkhuong: scymtym: globaldb-sxhashoid craps out after 10 items in a list 2016-08-10T17:44:32Z pkhuong: if you have more than 7 static initargs, you'll reach that limit 2016-08-10T17:58:27Z DeadTrickster quit (Ping timeout: 276 seconds) 2016-08-10T18:02:29Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-10T18:12:59Z edgar-rft joined #sbcl 2016-08-10T18:24:14Z sjl joined #sbcl 2016-08-10T18:50:05Z mgodshall joined #sbcl 2016-08-10T18:57:44Z cromachina quit (Read error: Connection reset by peer) 2016-08-10T19:03:40Z attila_lendvai joined #sbcl 2016-08-10T19:03:40Z attila_lendvai quit (Changing host) 2016-08-10T19:03:40Z attila_lendvai joined #sbcl 2016-08-10T19:34:52Z trinque quit (Ping timeout: 240 seconds) 2016-08-10T19:46:19Z shka_ quit (Ping timeout: 260 seconds) 2016-08-10T19:48:37Z trinque joined #sbcl 2016-08-10T19:51:08Z blackwolf joined #sbcl 2016-08-10T19:53:16Z blackwolf: I'm trying to do an install from scratch using the binary sbcl distribution, but I'm getting the `can't find core file' error. I'm installing with: `SBCL_HOME=$HOME/lib/sbcl INSTALL_ROOT=$HOME sh install.sh' and sbcl is still looking in /usr/local/lib/sbcl/. It's been too long since I did a fresh install - what am I missing? 2016-08-10T19:54:57Z joshe: SBCL_HOME is needed at runtime, not install-time 2016-08-10T19:55:12Z joshe: or build with --prefix 2016-08-10T19:56:05Z joshe: I usually write a little wrapper script which sets it and then execs sbcl 2016-08-10T19:56:55Z blackwolf: I'm going off . I also have tried setting --prefix at build time, same issue. 2016-08-10T19:59:05Z joshe: perhaps a mailing list post from 8 years ago (which features someone telling an sbcl developer they're wrong) might not be the best source of information 2016-08-10T19:59:06Z blackwolf: ah - checked gentoo's ebuild. they hack src/runtime/runtime.c. now I remember, that's what I did before. 2016-08-10T19:59:39Z joshe: oh, well good luck then 2016-08-10T19:59:52Z stassats: --prefix at build time does work 2016-08-10T19:59:56Z DeadTrickster joined #sbcl 2016-08-10T20:09:56Z stassats: scymtym: (eval-when (:load-toplevel :execute)) is just (progn) 2016-08-10T20:51:49Z scymtym: stassats: yeah, thanks. i didn't even think about it. just dumped what i had and went afk 2016-08-10T21:02:26Z scymtym: pkhuong: i would expect a bad hash function to make the ctor caching slow but it seems as if "the same" constructors are generated and cached over and over. wouldn't that indicate a failure of the test function or genuinely unEQUAL keys rather than a failure of the hash function? 2016-08-10T21:03:58Z barbone joined #sbcl 2016-08-10T21:06:56Z stassats: 269 lambdas converted? 2016-08-10T21:08:19Z stassats: are the make-instances not at the top level? 2016-08-10T21:08:26Z stassats: is there something besides? 2016-08-10T21:11:38Z scymtym: i can try to reduce this into a sensible test case so you don't waste your time. fwiw, an example of the expansion i suspect to be causing this is in http://paste.lisp.org/display/322693#2 2016-08-10T21:12:32Z scymtym: each COMPILE-FILE adds a few hundred entries like ((SB-PCL::CTOR ESRAP:RULE T :EXPRESSION #:LIST-INITARG-0 :GUARD-EXPRESSION 2016-08-10T21:12:33Z scymtym: #:LIST-INITARG-1 :TRANSFORM SB-PCL::|.P2.| :AROUND #:LIST-INITARG-2 :CONDITION T) #(1851459 (5) :DEFINED :FUNCTION)) to globaldb 2016-08-10T21:12:43Z scymtym: that's where my suspicion comes from 2016-08-10T21:13:37Z stassats: each (SB-PCL::ENSURE-CTOR ..) does grow in time 2016-08-10T21:14:16Z scymtym: even when recompiling the same code? 2016-08-10T21:14:24Z stassats: not compiling anything 2016-08-10T21:16:50Z gingerale quit (Remote host closed the connection) 2016-08-10T21:17:10Z stassats: so, that name is EQ tested, not EQUAL 2016-08-10T21:18:04Z stassats: due to uniterned symbols? 2016-08-10T21:19:14Z scymtym: that's what i though. could be the LIST-INITARGS- ones in this example 2016-08-10T21:19:58Z stassats: i didn't wonder too much into that territory when i translated the make-instance cm for allocate-instance 2016-08-10T21:20:13Z stassats: (just made them for allocate-instance without any intargs) 2016-08-10T21:21:41Z scymtym: so, instead of GENSYM, a cache i -> (make-symbol (format nil "LIST-INITARG-~D" i))? 2016-08-10T21:22:07Z stassats: why list-initarg at all? 2016-08-10T21:22:39Z stassats: (make-instance 'foo :a 10 :b x) does not have list-initarg for X 2016-08-10T21:23:49Z scymtym: there is a comment in SB-PCL:MAKE-CTOR-FUNCTION-NAME 2016-08-10T21:24:02Z stassats: 3eed77547e03a57c9be57db74081ee0f39ed0fa6 is more insightful 2016-08-10T21:25:26Z stassats: so, i don't think the argument actually does matter, it should do the same as for non constants 2016-08-10T21:26:40Z stassats: won't deal with it today, you may have a go at it 2016-08-10T21:29:04Z stassats: any reason to deal with constants specially at all? 2016-08-10T21:29:29Z stassats: what's the benefit? more compact code for calling the ctor? less polluted constants? 2016-08-10T21:29:37Z scymtym: ok. first, i will have to understand why initarg /values/ are entered into the key at all 2016-08-10T21:29:39Z scymtym: brb 2016-08-10T21:35:51Z stassats: well, i guess if you already support constant inclusion, no reason to throw it away 2016-08-10T21:35:59Z stassats: just need to throw out the list stuff 2016-08-10T21:44:45Z ym left #sbcl 2016-08-10T21:47:28Z barbone quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-10T21:54:09Z milanj quit (Quit: Leaving) 2016-08-10T22:13:32Z barbone joined #sbcl 2016-08-10T22:20:19Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-10T22:27:52Z DeadTrickster quit (Ping timeout: 240 seconds) 2016-08-10T22:28:41Z barbone quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-10T22:33:26Z angavrilov quit (Remote host closed the connection) 2016-08-10T22:39:09Z barbone joined #sbcl 2016-08-10T22:40:10Z pkhuong: oh yeah... the comment says it tries to make sure names are EQUALy, but then proceeds to gensym :| 2016-08-10T22:41:14Z stassats: pkhuong: the problem is rather if you have :x '(1 2 3) and :x '(1 2 3) in another file or via EVAL they'll get wrongfully coalesced 2016-08-10T22:43:11Z stassats: and to hold off circular lists 2016-08-10T22:43:49Z stassats: so, it needs to be measured how big of an impact is it compiling in constant inits 2016-08-10T23:48:28Z scymtym: my conclusion so far: esrap should declare notinline make-instance in the first place since optimizing construction of rule instances at load-time is counterproductive. in sbcl, ctors should handle constants for which EQUAL does not imply EQ like non-constants 2016-08-10T23:49:56Z stassats: should the fop compiler stop ctor optimization? 2016-08-10T23:50:49Z stassats: hard to actually do that 2016-08-10T23:51:08Z stassats: then if stuff that's not a function but doesn't get fop compiled will still get uselessly optimized 2016-08-10T23:51:38Z stassats: how about, compiler-macro->source-transform 2016-08-10T23:57:39Z scymtym: that's a separate concern, right? (defun f () (make-instance 'class :ia '(list of stuff))) needs the previously discussed fix