> > "stack allocation" is really bad news for any program that heavily relies on > recursion to do its job. In this case it may be better to have a stack that > grows upwards because the size of the heap can be predicted better than the size > of the stack. I have had programs that went several tens of millions of > recusions deep on x86 32 bits. I do not know why they worked :) IIRC windows dynamically grows the stack if the application runs off the end of it and there is a pretty big chunk of address space availible for it to grow into. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist