Recursion Optimization

Kevin Atkinson kevinatk@home.com
Tue Aug 31 23:20:00 GMT 1999


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/



More information about the Gcc mailing list