This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Recursion Optimization


Zack Weinberg wrote:
> 
> where push, pop, and stack_empty are operations on some generic stack.
> By doing this, you avoid having to push "stop", the return address,
> the frame pointer, any call-saved registers, and so on.  It can be a
> *huge* win in terms of stack usage. 

What about speed, assuming there is enough memory?

-- 
Kevin Atkinson
kevinatk@home.com
http://metalab.unc.edu/kevina/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]