Vetoshkin Nikita <nikita.vetosh...@gmail.com> added the comment:

Glibc's readdir() and readdir_r() already do caching, so getdents() syscall is 
called only once on my '/etc' directory. Should we include another caching 
level in xlistdir() function?
On the other hand, we don't know anything about caches at glibc's level, i.e. 
we can't tell if our next call to readdir() will result in syscall or even I/O 
(we could possible release GIL for that).

----------

_______________________________________
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