[issue22524] PEP 471 implementation: os.scandir() directory scanning function

STINNER Victor report at bugs.python.org
Wed Oct 8 12:24:08 CEST 2014


STINNER Victor added the comment:

> You may want to have the C primitive return results in batches (of e.g. 10 or 100 entries) to limit the overhead, btw.

Ah yes, good idea. I read that internally readdir() also fetchs many
entries in a single syscall (prefetch" / readahead, I don't know how
to call that).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22524>
_______________________________________


More information about the Python-bugs-list mailing list