walkdirs performance

Robert Collins robertc at robertcollins.net
Wed Aug 20 06:11:14 BST 2008


so, walkdirs is kinda slow.

In C, readdir + lstat every path on a mozilla tree:
 0.4 seconds

len(_walkdirs_utf8(mozilla))
 1.1 seconds

Still digging into _why_.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080820/1c3b2e70/attachment.pgp 


More information about the bazaar mailing list