Monthly Archives: February 2006

Tail Call Optimization as a Python Decorator

Until today the coolest uses I’ve seen for Python decorators were implementing design by contract and currying. However, Crutcher Dunnavant has implemented a decorator which performs tail call optimization by messing with the runtime stack. Even c… Continue reading

Posted in Uncategorized | Leave a comment