guile-devel
[Top][All Lists]
Advanced

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

Re: RFC: major change to argument processing.


From: Marius Vollmer
Subject: Re: RFC: major change to argument processing.
Date: 02 Jun 2001 21:02:03 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Rob Browning <address@hidden> writes:

> Marius Vollmer <address@hidden> writes:
> 
> > Instead of reversing, you recurse.  I'd say that this is actually
> > worse than reversing... ;>
> 
> So what's the problem with recursion?

It eats stack, which is a more finite resource than heap for Guile.
More theoretically, it can't be as easily optimized into a real loop.

> I got fairly heavy indoctrination into the "always use recursion and
> expect the implementation to optimize for that case" (stream-style)
> school of scheme programming starting out, but is that a bad idea
> with guile?

No, not worse than with other Scheme implementations, I'd say.



reply via email to

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