Subject: Re: Tail recursion From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Fri, 28 Jul 2000 15:57:16 -0500 |
Quoting Daniel Shane <daniel@xxxxxxxx>: > Now, I am no scheme expert but I have posted my scheme function and if > anyone could colaborate the fact that this function is tail recursive > then we have found a bug in openjades autodetection of tail recurisve > functions. > > The frame that doesnt get popped is the call to append-sosofo. After > 5062 calls to that function, we bomb out of stack space. > This look fine as far as being tail recursive, though to say for sure that you don't have a problem in your code, I'd have to know what's happening in the $build-callouts-table$, $look-for-callout$ and $line-start$ functions. Are these just functions from Norm's docbook sheets, or have you changed them? I also have a few suggestions for some streamlining, but I'll pass those on later. :) -Brandon :) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Tail recursion, Daniel Shane | Thread | XT and ServletDestination vs Output, Noll, Jeff HS |
XT and ServletDestination vs Output, Noll, Jeff HS | Date | |
Month |