freenode/#sbcl - IRC Chatlog
Search
23:06:29
luis
karlosz: awesome, that works. Do you (policy clambda (or (= let-conversion 0) (= debug 3))) or somesuch would be reasonable? (> debug speed) maybe?
23:21:23
karlosz
luis: personally, i think inhibiting let-conversion on debug 3 is unobjectionable, but user-visible changes in policy probably deserve a mention
23:25:06
karlosz
luis: you might also want to port this bit from cmucl: https://gitlab.common-lisp.net/cmucl/cmucl/-/blob/master/src/compiler/locall.lisp#L1063 which basically inhibits tail conversion somehow
23:26:14
luis
karlosz: AIUI, let-conversion covers other things besides flet/labels, and in that case I would probably want to specifically control flet-conversion. We actually ship with (debug 3) precisely because it inhibits tail conversion.
23:27:32
karlosz
i.e. i don't think the ocmpiler inhibits local tail call optimization on any policy currently
23:28:42
karlosz
luis: modifiying that will only change things for FLET and LABELS. if you read the block comment above the supression function, it explains that it won't ever supress things for anonymous functionals
23:30:31
luis
My motivation here is to trace local functions, so I don't care about anonymous things.
23:33:47
karlosz
right, im just saying that that's how you get specific control over flet-conversion
23:34:08
karlosz
that is, you don't need to worry about accidentally changing let-conversion semantics for things that are anonymous if you change the policy there
23:52:54
luis
https://plaster.tymoon.eu/view/2238 yay, just need to print that local function frame a bit better :)
23:54:50
luis
oh, actually if I trace (flet y :in x) that works better. I'm confused why tracing (labels y :in x) worked at all
0:01:09
luis
oh right, because I have a bug and fun-debug-fun returned the main fun when it couldn't find the labels, doh.
3:32:20
pfdietz
You can disable the optimize that removes the flet by declaring the function notinline.
10:42:00
ralt
For what it's worth, I've seen some complaints about the sbcl.org website, and I work at a hosting platform that would gladly host it for free, if y'all feel like switching. (There are some minimal conditions, though, which we can hash out in PMs.)
10:48:20
luis
ralt: I /think/ the main issue with sbcl.org is that the domain owner forgets to renew it from time to time