00:39:45 pkhuong: You like Mercurial? 00:43:47 Never used it. 00:44:30 I figure that any vcs is better than none, and people seem to like git (and it fits well with my mobile workstyle). That's as far as I my decision making process went. 00:48:51 I find myself missing git when I'm using hg. 00:49:02 The index, in particular. 00:51:19 pkhuong: hg records commit times 00:58:57 so does git, that's the issue ;) 01:11:15 pkhuong: Oh 01:11:26 I thought you wanted that. I like that. (: 01:13:52 I usually do as well, but it's a bit confusing when my commits show up in last week on planet sbcl ;) 01:38:49 git rebase --ignore-date 01:59:36 thanks 05:14:27 -!- cmm [~cmm@bzq-79-180-205-150.red.bezeqint.net] has quit [Ping timeout: 244 seconds] 05:15:34 cmm [~cmm@bzq-79-180-205-150.red.bezeqint.net] has joined #sbcl 05:28:35 -!- cmm [~cmm@bzq-79-180-205-150.red.bezeqint.net] has quit [Ping timeout: 258 seconds] 05:29:17 cmm [~cmm@bzq-79-180-205-150.red.bezeqint.net] has joined #sbcl 05:38:07 -!- cmm [~cmm@bzq-79-180-205-150.red.bezeqint.net] has quit [Ping timeout: 250 seconds] 05:38:52 cmm [~cmm@bzq-79-180-205-150.red.bezeqint.net] has joined #sbcl 06:03:04 How can I disassemble a specific method? If I DISASSEMBLE #'the-generic-function I only get a disassembly of the method selector. 06:13:31 gor[e] [~svr@79.165.187.105] has joined #sbcl 06:21:44 homie` [~levgue@xdsl-78-35-185-7.netcologne.de] has joined #sbcl 06:24:45 -!- homie [~levgue@xdsl-78-35-160-219.netcologne.de] has quit [Ping timeout: 264 seconds] 07:06:10 get hold of the method object, then the method function, and disassemble that. But it's still not quite going to tell you the truth, because implementations can optimize things to bypass the method function 08:28:07 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #sbcl 08:28:07 -!- ChanServ has set mode +o nikodemus 08:28:46 pkhuong: very nice stuff! 09:29:22 attila_lendvai [~attila_le@apn-94-44-110-160.vodafone.hu] has joined #sbcl 09:29:22 -!- attila_lendvai [~attila_le@apn-94-44-110-160.vodafone.hu] has quit [Changing host] 09:29:22 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 09:31:52 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 09:38:31 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 258 seconds] 09:38:56 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #sbcl 09:38:56 -!- ChanServ has set mode +o nikodemus 10:06:13 tcr1 [~tcr@155-dom-3.acn.waw.pl] has joined #sbcl 11:12:20 -!- homie` [~levgue@xdsl-78-35-185-7.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:14:29 Krystof: still there? 11:14:55 Given a method object, how can I get hold of the function object? 11:17:39 loke: sb-mop:method-function 11:18:13 (if that's really the function object you want depends on what you're doing, though) 11:18:22 Yeah. I want to disassemble it 11:18:54 IIRC i thought the disassembler to disassemble the fast-function as well when disassembling a method function, so it should be ok 11:19:03 Nope 11:19:08 All I get is the selector 11:19:56 right at the end you should have something like ; disassembly for (SB-PCL::FAST-METHOD FOO (T)) 11:22:21 I can't just disassemble the generic function. That's when I get the selector. The only way I found out how to disassemble the implementation is: 11:22:22 http://paste.lisp.org/display/122752 11:22:37 In the paste, I first disassemble the generic function, then the specialisation 11:24:52 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 11:25:31 loke: the second has the fast-method in it 11:25:53 ; disassembly for (SB-PCL::FAST-METHOD DHS-DB:SELECT <<<< starting there 11:26:17 nikodemus: yes, indeed. But my question was if there was an easier way to access the dissasembly for a method, withou thaving to call FIND-METHOD and the MOP-stuff... 11:26:37 That said, I have to admit I'm not entirely clear on what the FAST-METHOD actually is/does. 11:26:41 ahah! i forgot, you can do: (disassemble '(sb-pcl::fast-method foo (t))) 11:27:04 fast-method is the thing that actually implements the method unless you're doing fancy mop stuff 11:27:12 and in most cases even then 11:27:26 Yeah, I can see that 11:27:29 so what is the rest? 11:27:35 clos magic 11:27:50 parts of it is stuff that's actively used -- dispatching code, etc 11:28:02 also, does that mean that there is a significant performance impact of (over)using generic functions? 11:28:13 parts of it is stuff that gets used almost never, unless you're using explicit (call-method ...) etc 11:28:31 loke: yes and no 11:29:07 iirc "typical" gf call overhead is a small multiple of a plain function call overhead 11:29:56 but if you're eg. using slot-value inside your methods, the optimizations that can be applied there more than pay for the gf overhead 11:30:18 OK, I have to take care of screaming kids. brb 11:30:28 (and in many cases the cost of a gf or function call is noise anyways) 11:37:41 the secondary effects of using a gf can be more noticeable, though: the compiler cannot reason about argument or return types of a GF call, so optimization potential is lost. If you have a regular function FOO with declaimed ftype (function (string) string), then (let ((x (foo y))) ...) in the ... section the compiler will know that both X and Y must be strings 11:38:34 if FOO is a gf, that knowledge isn't there even if you proclaim the ftype 11:38:55 (which is not an inherent feature of CL, but a current limitation of SBCL) 11:43:01 homie [~levgue@xdsl-78-35-185-7.netcologne.de] has joined #sbcl 12:23:44 -!- cmm [~cmm@bzq-79-180-205-150.red.bezeqint.net] has quit [Read error: Connection reset by peer] 12:52:39 cmm [~cmm@bzq-79-177-212-194.red.bezeqint.net] has joined #sbcl 12:57:59 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 260 seconds] 12:59:14 -!- tcr1 [~tcr@155-dom-3.acn.waw.pl] has quit [Quit: Leaving.] 13:43:53 -!- gor[e] [~svr@79.165.187.105] has quit [Ping timeout: 244 seconds] 14:40:38 tcr1 [~tcr@155-dom-3.acn.waw.pl] has joined #sbcl 15:10:23 nikodemus: good thing it's now on master: my workstation seems to have died. 15:10:56 I'll bet too many power outages (back to back, at that) have lead to major fsck issues. 15:19:24 ouch 15:21:32 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Ping timeout: 244 seconds] 15:21:46 can't tell as I'm 600 km away ;) 15:27:52 severpoli [severpoli@supporter.blinkenshell.org] has joined #sbcl 15:28:07 -!- severpoli [severpoli@supporter.blinkenshell.org] has left #sbcl 15:41:31 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 16:55:59 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #sbcl 16:55:59 -!- ChanServ has set mode +o nikodemus 17:19:29 tcr2 [~tcr@155-dom-3.acn.waw.pl] has joined #sbcl 17:19:30 -!- tcr1 [~tcr@155-dom-3.acn.waw.pl] has quit [Read error: Connection reset by peer] 17:48:12 -!- rootzlevel [~hpd@static.6.236.40.188.clients.your-server.de] has quit [Quit: Changing server] 17:50:34 tcr1 [~tcr@155-dom-3.acn.waw.pl] has joined #sbcl 17:50:35 -!- tcr2 [~tcr@155-dom-3.acn.waw.pl] has quit [Read error: Connection reset by peer] 17:52:59 -!- cmm [~cmm@bzq-79-177-212-194.red.bezeqint.net] has quit [Ping timeout: 240 seconds] 17:53:55 cmm [~cmm@bzq-79-177-212-194.red.bezeqint.net] has joined #sbcl 17:56:42 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 18:15:12 pchrist [~spirit@gentoo/developer/pchrist] has joined #sbcl 18:22:06 -!- cmm [~cmm@bzq-79-177-212-194.red.bezeqint.net] has quit [Ping timeout: 255 seconds] 18:22:51 cmm [~cmm@bzq-79-177-212-194.red.bezeqint.net] has joined #sbcl 18:29:41 attila_lendvai [~attila_le@catv-89-132-189-7.catv.broadband.hu] has joined #sbcl 18:29:41 -!- attila_lendvai [~attila_le@catv-89-132-189-7.catv.broadband.hu] has quit [Changing host] 18:29:41 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 18:52:43 homie` [~levgue@xdsl-84-44-210-13.netcologne.de] has joined #sbcl 18:53:51 -!- homie` [~levgue@xdsl-84-44-210-13.netcologne.de] has quit [Remote host closed the connection] 18:54:28 -!- homie [~levgue@xdsl-78-35-185-7.netcologne.de] has quit [Ping timeout: 246 seconds] 19:30:26 homie [~levgue@xdsl-84-44-210-13.netcologne.de] has joined #sbcl 19:31:52 nikodemus [~nikodemus@cs181063174.pp.htv.fi] has joined #sbcl 19:31:52 -!- ChanServ has set mode +o nikodemus 21:03:38 -!- tcr1 [~tcr@155-dom-3.acn.waw.pl] has quit [Quit: Leaving.] 22:19:33 -!- ASau [~user@95-26-236-246.broadband.corbina.ru] has quit [Remote host closed the connection] 22:20:27 ASau [~user@95-26-236-246.broadband.corbina.ru] has joined #sbcl 22:22:03 -!- nikodemus [~nikodemus@cs181063174.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 22:40:30 gor[e] [~svr@gw2.masterhost.ru] has joined #sbcl 22:46:35 -!- gor[e] [~svr@gw2.masterhost.ru] has quit [Remote host closed the connection] 22:47:13 gor[e] [~svr@gw2.masterhost.ru] has joined #sbcl