Is crawling the stack "bad"? Why?

Diez B. Roggisch deets at nospam.web.de
Fri Feb 29 11:30:32 EST 2008


> 
> I will (mostly)... I knew it was bad code and a total hack, I just was
> looking for a concise reason as to why.
> 
> I appreciate the comments, guys... thanks!

There is another one: crawling the stack is O(n), whilst using 
thread-local storage is O(1)


Diez



More information about the Python-list mailing list