freenode/#sbcl - IRC Chatlog
Search
15:59:07
pfdietz
I was wondering if the types of method arguments are used to optimize the method body.
15:59:47
pfdietz
(defmethod foo ((x integer)) (if (typep x 'integer) :live :dead)) ==> does the if get optimized away?
16:01:24
stassats
a way to check without disassembling (defmethod foo ((x integer)) (the (member :dead) (if (typep x 'integer) :live :dead)))
16:04:06
stassats
PCL is something i never really touch - it's a level of indirection upon a level of indirection, each more incomprehensible than the previous
16:36:39
stassats
i'm not implying that the indirections are the place to optimize, but that their opacity prevents any optimization
16:38:30
stassats
spend hours to find the place where something needs to be modified, then some more to find out that it's cached somewhere, and that it's actually five different places under different circumstances
16:47:55
luis
Is there any way to reliably save-lisp-and-die from SLIME's repl-thread? I've tried to interrupt the main thread, kill all the other threads from there, then save-lisp-and-die, but the resulting core sometimes gets stuck on load (and sometimes works).
17:03:50
luis
Yes, that works. However, it's proven useful to compile our app within SLIME to help with debugging compilation errors. And the final compilation step is to dump the image. Hmm. Maybe if we trigger the compilation from *inferior-lisp* rather than the REPL that would help.
17:11:01
luis
Although, with so many ERRORs in this code base still, I might be comparing apples to oranges. Not sure.
18:37:41
rpg
Does anyone know if the Ubuntu SBCL packages are OK these days, or are they still messed up by integration with the common lisp controller mess?
19:49:07
rpg_
phoe: Thanks. I recall having a lot of trouble before because of sbcl looking for stuff in clcc instead of where I wanted it to look.
19:50:56
phoe
rpg_: you can look at https://travis-ci.com/phoe-trash/furcadia-post-splitter/builds/133679945/config where, on linux, I `apt install sbcl` and then compile the vanilla one
19:51:01
rpg_
This is a server machine I get a slice of, so building for myself is a pain in the but.