Profiling, recursive func slower than imperative, normal?
s0suk3 at gmail.com
s0suk3 at gmail.com
Wed Apr 16 16:53:16 EDT 2008
On Apr 16, 3:27 pm, Jean-Paul Calderone <exar... at divmod.com> wrote:
> Any function can be implemented without recursion, although it isn't
> always easy or fun.
>
> Jean-Paul
Really? I'm curious about that, I can't figure out how that would
work. Could give an example? Say, for example, the typical: walking
through the file system hierarchy (without using os.walk(), which uses
recursion anyway!).
More information about the Python-list
mailing list