chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] optimizing mutually recursive loops


From: John Cowan
Subject: Re: [Chicken-users] optimizing mutually recursive loops
Date: Tue, 17 Feb 2009 15:36:07 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

Peter Bex scripsit:

> I don't think "parameterize" is tail-recursive (it uses dynamic-wind),
> so if you expect procedure calls to be nested deeply, this might not be
> an option.

It is possible to have dynamic binding and tail recursion at the same
time, though:  see http://www.accesscom.com/~darius/writings/dynatail.html
for the general scheme.

-- 
John Cowan    http://ccil.org/~cowan    address@hidden
SAXParserFactory [is] a hideous, evil monstrosity of a class that should
be hung, shot, beheaded, drawn and quartered, burned at the stake,
buried in unconsecrated ground, dug up, cremated, and the ashes tossed
in the Tiber while the complete cast of Wicked sings "Ding dong, the
witch is dead."  --Elliotte Rusty Harold on xml-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]