Antoine Pitrou <pit...@free.fr> added the comment:

A generator listdir() geared towards performance should probably be able to 
work in batches, e.g. read 100 entries at once and buffer them in some internal 
storage (that might mean use readdir_r()). Bonus points if it doesn't release 
the GIL around each individual entry, but also batches that.

----------
nosy: +neologix, pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11406>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to