Python vs. Ruby (and os.path.walk)

Ville Vainio vvainio at
Fri Aug 9 11:52:13 CEST 2002

"Steven Atkinson" <sja at> wrote in message news:<rbH49.66567$Jz.12415031 at>...

> Maybe that's a good sanity check.). So before I dig into the code to
> determine why it's so slow I'd like to know if others experience slowness
> with Python overall, just the os.path.walk routine, only the NT version.

Python22\Lib\lib-old has, you might want to try how fast it
gets the list of your files. You should probably post your code, se
ppl could spot the algorithmic error you made. Ruby should be about
the same speed as python overall.

You might also want to check out:

for some Ruby-bashing :).

More information about the Python-list mailing list