In article <cee041da-a1e0-4d82-b4ba-5404811d3...@t10g2000vbg.googlegroups.com>, <bearophileh...@lycos.com> wrote: >Arnaud Delobelle: >> >> Bearophile, there is a thread on python-ideas about tail-call >> optimization at the moment. > >Someday I'll have to start following those mailing lists... >But I am not interested in such optimization. It's not going to help >me significantly. Most times I use recursion, I think it can't be >optimized away by simple means (think about a visit to a binary tree).
When have you ever had a binary tree a thousand levels deep? Consider how big 2**1000 is... -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "It is easier to optimize correct code than to correct optimized code." --Bill Harlan -- http://mail.python.org/mailman/listinfo/python-list