00:01:54 -!- Phoodus [~foo@ip72-223-116-248.ph.ph.cox.net] has quit [Ping timeout: 252 seconds] 00:02:10 Phoodus [~foo@ip72-223-116-248.ph.ph.cox.net] has joined #sbcl 00:04:22 -!- LiamH [~none@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 00:18:39 -!- kwmiebach [~kwmiebach@xdsl-87-79-140-226.netcologne.de] has quit [Quit: Leaving] 00:20:02 homie`` [~levgue@xdsl-78-35-130-25.netcologne.de] has joined #sbcl 00:22:48 -!- homie` [~levgue@xdsl-78-35-153-172.netcologne.de] has quit [Ping timeout: 252 seconds] 00:53:28 -!- Qworkescence [~quad@unaffiliated/quadrescence] has quit [Quit: Leaving] 00:56:14 -!- tsuru` [~charlie@adsl-74-179-196-113.bna.bellsouth.net] has quit [Remote host closed the connection] 01:27:16 slyrus [~chatzilla@209-188-122-100.taosnet.com] has joined #sbcl 02:09:22 gko [~gko@27.240.152.40] has joined #sbcl 02:10:36 -!- homie`` [~levgue@xdsl-78-35-130-25.netcologne.de] has quit [Remote host closed the connection] 02:36:24 attila_lendvai [~attila_le@87.247.35.157] has joined #sbcl 02:36:24 -!- attila_lendvai [~attila_le@87.247.35.157] has quit [Changing host] 02:36:24 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 02:39:32 homie [~levgue@xdsl-78-35-130-25.netcologne.de] has joined #sbcl 02:41:57 -!- slyrus [~chatzilla@209-188-122-100.taosnet.com] has quit [Ping timeout: 248 seconds] 03:18:25 stassats` [~stassats@wikipedia/stassats] has joined #sbcl 03:56:23 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 04:49:45 slyrus [~chatzilla@209-188-122-100.taosnet.com] has joined #sbcl 05:01:25 -!- homie [~levgue@xdsl-78-35-130-25.netcologne.de] has quit [Remote host closed the connection] 05:02:00 homie [~levgue@xdsl-78-35-130-25.netcologne.de] has joined #sbcl 05:15:08 -!- homie [~levgue@xdsl-78-35-130-25.netcologne.de] has quit [Read error: Connection reset by peer] 05:15:49 homie [~levgue@xdsl-78-35-130-25.netcologne.de] has joined #sbcl 06:10:23 angavrilov [~angavrilo@217.71.235.212] has joined #sbcl 06:36:03 sdemarre [~serge@91.176.103.115] has joined #sbcl 06:36:05 -!- cmm [~cmm@bzq-109-65-229-53.red.bezeqint.net] has quit [Ping timeout: 248 seconds] 06:38:04 cmm [~cmm@bzq-79-180-218-90.red.bezeqint.net] has joined #sbcl 06:40:53 -!- slyrus [~chatzilla@209-188-122-100.taosnet.com] has quit [Ping timeout: 248 seconds] 07:36:31 edgar-rft [~user@HSI-KBW-078-043-123-191.hsi4.kabel-badenwuerttemberg.de] has joined #sbcl 07:51:08 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 240 seconds] 07:52:13 -!- sdemarre [~serge@91.176.103.115] has quit [Ping timeout: 276 seconds] 07:53:10 pchrist [~spirit@gentoo/developer/pchrist] has joined #sbcl 08:22:34 saschakb [~saschakb@p4FEA1325.dip0.t-ipconnect.de] has joined #sbcl 08:51:56 kwmiebach [~kwmiebach@xdsl-87-79-140-226.netcologne.de] has joined #sbcl 09:05:25 Blkt [~user@89-96-199-46.ip13.fastwebnet.it] has joined #sbcl 09:26:48 saschakb_ [~saschakb@p4FEA1216.dip0.t-ipconnect.de] has joined #sbcl 09:28:35 -!- saschakb [~saschakb@p4FEA1325.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 09:45:58 -!- homie [~levgue@xdsl-78-35-130-25.netcologne.de] has quit [Remote host closed the connection] 09:46:40 homie [~levgue@xdsl-78-35-130-25.netcologne.de] has joined #sbcl 10:30:28 kwmiebach_ [~kwmiebach@xdsl-78-34-248-23.netcologne.de] has joined #sbcl 10:32:58 -!- kwmiebach [~kwmiebach@xdsl-87-79-140-226.netcologne.de] has quit [Ping timeout: 245 seconds] 10:58:30 -!- gko [~gko@27.240.152.40] has quit [Ping timeout: 244 seconds] 11:29:02 attila_lendvai [~attila_le@95.56.181.163] has joined #sbcl 11:29:03 -!- attila_lendvai [~attila_le@95.56.181.163] has quit [Changing host] 11:29:03 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 12:16:44 -!- homie [~levgue@xdsl-78-35-130-25.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:11:50 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 13:30:03 -!- saschakb_ [~saschakb@p4FEA1216.dip0.t-ipconnect.de] has quit [Quit: Verlassend] 13:36:04 saschakb [~saschakb@p4FEA1216.dip0.t-ipconnect.de] has joined #sbcl 13:58:17 LiamH [~none@pdp8.nrl.navy.mil] has joined #sbcl 14:03:57 tsuru [~charlie@adsl-74-179-196-113.bna.bellsouth.net] has joined #sbcl 14:12:08 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Ping timeout: 245 seconds] 14:19:51 attila_lendvai [~attila_le@176.222.152.191] has joined #sbcl 14:19:52 -!- attila_lendvai [~attila_le@176.222.152.191] has quit [Changing host] 14:19:52 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 14:42:35 psilord [~psilord@mpls.sift.info] has joined #sbcl 14:46:01 rpg [~rpg@mpls.sift.info] has joined #sbcl 15:17:05 -!- saschakb [~saschakb@p4FEA1216.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 15:21:37 christop` [~user@oteiza.siccegge.de] has joined #sbcl 15:22:42 -!- christoph_debian [~user@oteiza.siccegge.de] has quit [Remote host closed the connection] 15:44:05 When I try to use SB-INT:ENCAPSULATE for advice-y kinds of things, it seems like the advice body is getting compiled each time it's called. Is there some way to avoid this? 15:44:27 I am relying on the blog post at http://blog.viridian-project.de/2008/05/04/function-encapsulation-in-sbcl/ for my information... 15:46:30 Also, when I use SB-INT:ARG-LIST in my encapsulate body, it causes warnings about an undeclared variable. But I cannot declare it because that causes a package lock violation. Shouldn't there be a defvar in sb-int? 16:02:30 milanj [~milanj_@109-92-124-101.dynamic.isp.telekom.rs] has joined #sbcl 16:10:51 rpg: *evaluator-mode* (: 16:19:55 Qworkescence [~quad@unaffiliated/quadrescence] has joined #sbcl 16:24:21 attila_lendvai1 [~attila_le@176.222.152.191] has joined #sbcl 16:24:22 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 16:24:24 -!- attila_lendvai1 is now known as attila_lendvai 16:24:25 -!- attila_lendvai [~attila_le@176.222.152.191] has quit [Changing host] 16:24:26 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 16:32:00 saschakb [~saschakb@p4FEA1216.dip0.t-ipconnect.de] has joined #sbcl 16:32:03 pkhuong: sb-ext:*evaluator-mode* => :compile 16:32:06 ? 16:33:23 Should it be :interpret? Or is there something I need to do to get the encapsulation body to compile? 16:33:25 rpg: set it to :interpret. 16:33:42 pkhuong: thanks. Will do. 16:34:23 Is this a problem that arises from me using sb-int:encapsulate in the REPL? 16:34:53 no, it's encapsulate that uses eval. 16:35:39 not sure why, or why it does it on the body instead of the function that EVALs the body 16:40:57 pkhuong: Thanks. 16:41:29 pkhuong: right. I see this now. 16:43:17 is there some reason why arg-list is not DEFVARed? I know that this is an internal, but it seems like almost any actual encapsulation body will need to reference sb-int:arg-list... 16:43:36 (IANACW -- I am not a compiler writer...) 16:50:38 really not sure. 16:51:00 with :interpret, it should just work without warning. 16:56:35 antgreen` [~user@70.50.67.203] has joined #sbcl 17:04:49 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 244 seconds] 17:06:36 homie [~levgue@xdsl-78-35-151-205.netcologne.de] has joined #sbcl 17:06:45 -!- saschakb [~saschakb@p4FEA1216.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 17:07:00 pchrist [~spirit@gentoo/developer/pchrist] has joined #sbcl 17:11:59 -!- Blkt [~user@89-96-199-46.ip13.fastwebnet.it] has quit [Remote host closed the connection] 17:12:26 pkhuong: What's the best way to speed up the code that the SBCL compiler generates? 17:13:20 Are there any relatively small changes that could yield a 5 or 10 percent speedup? 17:13:38 for the whole program, or some specific hotspot? 17:14:04 ok, for 5-10% presumably the whole program, since that'd not be much for a hotspot :-) 17:15:25 but even then it'd depend horribly much on the application or benchmark that's being optimized 17:15:29 reb: depends on the code. 17:15:57 I guess it's mostly about weaknesses in SBCL you want to avoid. 17:16:30 oh, and is this a question about changes to the application or changes to sbcl? 17:17:17 right. Are you asking a micro-optimisation or a compiler hacking question? 17:26:35 -!- homie [~levgue@xdsl-78-35-151-205.netcologne.de] has quit [Read error: Connection reset by peer] 17:27:21 homie [~levgue@xdsl-78-35-157-105.netcologne.de] has joined #sbcl 17:53:35 -!- homie [~levgue@xdsl-78-35-157-105.netcologne.de] has quit [Read error: Connection reset by peer] 17:58:32 saschakb [~saschakb@p4FEA1216.dip0.t-ipconnect.de] has joined #sbcl 17:59:12 -!- edgar-rft [~user@HSI-KBW-078-043-123-191.hsi4.kabel-badenwuerttemberg.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:18:54 -!- stassats` [~stassats@wikipedia/stassats] has quit [Ping timeout: 245 seconds] 18:22:29 sdemarre [~serge@91.176.181.27] has joined #sbcl 18:29:23 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 18:53:38 homie [~levgue@xdsl-78-35-157-105.netcologne.de] has joined #sbcl 19:08:07 Sorry ... had to water a fire. 19:09:16 I know my question is vague. There's some general feeling among SBCL users near me with CPU-bound code that the machine code SBCL produces might be improved. 19:10:22 In reality the problem is "speed up a big system that has been compiled by SBCL". So the most likely solution is "analyze the whole system and figure out what can be improved". 19:13:22 I just thought there might be obvious compiler shortcomings given that the compiler is fairly old. There's also been some talk about employing LLVM to improve the generated code, but I'm not convinced that using it will yield a faster binary ... at least in the short term. 19:14:44 -!- Xof_ [~crhodes@158.223.51.79] has quit [Ping timeout: 245 seconds] 19:17:22 Xof_ [~crhodes@dunstaple.doc.gold.ac.uk] has joined #sbcl 19:29:39 -!- homie [~levgue@xdsl-78-35-157-105.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:31:03 there have been relatively simple sbcl changes that did have big effects on large cpu-bound applications, though the ones I can think of were usually GC or library changes, not code generation 19:31:29 inline constants helped a lot for FP-heavy code. 19:32:15 and mega/nyef's calling convention tweaks. 19:32:54 e.g. IIRC QPX was using SBCL's built-in hash-tables and spending some ridiculous proportion of time in hashtable functions (20%?), so speeding up the hashtables probably had a decent effect 19:33:52 and there is definitely room to improve the code generation in fairly generic ways (e.g. peephole optimizer, representation selection) 19:34:12 jump/jump elimination, amazingly enough. 19:42:34 reb: it's still possible to get pretty good results, but it requires a different bag of tricks than with C compilers. 19:43:48 The compiler is available at runtime, so domain-specific simplifications + runtime compilation + caching can be very interesting, without too much work. 20:09:55 -!- angavrilov [~angavrilo@217.71.235.212] has quit [Ping timeout: 240 seconds] 20:16:48 jsnell: I believe they have their own hash table code now, but worth checking. 20:17:27 yes, I believe that's the case. it was just an example 20:17:52 There is a hacky poophole optimizer patch for x86 floating around. I should give it a try. 20:18:58 I've noticed that my translation of CityHash into Lisp runs at half the speed of the C++ version. I should try to find out why. 21:02:19 -!- kwmiebach_ [~kwmiebach@xdsl-78-34-248-23.netcologne.de] has quit [Quit: Leaving] 21:37:04 -!- sdemarre [~serge@91.176.181.27] has quit [Ping timeout: 276 seconds] 21:59:26 homie [~levgue@xdsl-78-35-157-105.netcologne.de] has joined #sbcl 22:10:34 (apropos 'vector-ref) 22:10:39 oops 22:34:53 -!- LiamH [~none@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 22:48:07 rpg_ [~rpg@mpls.sift.info] has joined #sbcl 22:51:35 -!- rpg [~rpg@mpls.sift.info] has quit [Ping timeout: 240 seconds] 22:52:32 -!- rpg_ [~rpg@mpls.sift.info] has quit [Ping timeout: 244 seconds] 22:55:09 slyrus [~chatzilla@209-188-122-100.taosnet.com] has joined #sbcl 23:01:02 -!- homie [~levgue@xdsl-78-35-157-105.netcologne.de] has quit [Read error: Connection reset by peer] 23:01:50 homie [~levgue@xdsl-78-35-157-105.netcologne.de] has joined #sbcl 23:03:43 -!- homie [~levgue@xdsl-78-35-157-105.netcologne.de] has quit [Read error: Connection reset by peer] 23:07:22 -!- psilord [~psilord@mpls.sift.info] has quit [Quit: Leaving.] 23:20:29 rpg [~rpg@216.243.156.16.real-time.com] has joined #sbcl 23:21:25 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Ping timeout: 248 seconds] 23:23:58 borkman [~user@S0106001111de1fc8.cg.shawcable.net] has joined #sbcl 23:44:44 homie [~levgue@xdsl-78-35-157-105.netcologne.de] has joined #sbcl 23:47:26 |3b|` [foobar@cpe-72-179-19-4.austin.res.rr.com] has joined #sbcl 23:48:05 pkhuong_ [~pkhuong@gravelga.xen.prgmr.com] has joined #sbcl 23:49:39 danlarkin_ [~dan@danlarkin.org] has joined #sbcl 23:49:54 -!- milanj [~milanj_@109-92-124-101.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 23:52:08 Posterdati_ [~tapioca@host249-171-dynamic.11-87-r.retail.telecomitalia.it] has joined #sbcl 23:54:13 -!- |3b| [foobar@cpe-72-179-19-4.austin.res.rr.com] has quit [Read error: Connection reset by peer] 23:54:14 -!- pkhuong [~pkhuong@gravelga.xen.prgmr.com] has quit [Ping timeout: 252 seconds] 23:54:14 -!- Posterdati [~tapioca@host249-171-dynamic.11-87-r.retail.telecomitalia.it] has quit [Ping timeout: 252 seconds] 23:54:14 -!- danlarkin [~dan@danlarkin.org] has quit [Ping timeout: 252 seconds] 23:54:14 -!- reb [user@nat/google/x-kxkmbfikderzbbef] has quit [Ping timeout: 252 seconds] 23:54:17 -!- danlarkin_ is now known as danlarkin 23:54:28 -!- Qworkescence [~quad@unaffiliated/quadrescence] has quit [Quit: Leaving]