Path to this page:
./
devel/py-scandir,
Better directory iterator and faster os.walk()
Branch: pkgsrc-2018Q4,
Version: 1.9.0,
Package name: py27-scandir-1.9.0,
Maintainer: pkgsrc-usersscandir() is a directory iteration function like os.listdir(),
except that instead of returning a list of bare filenames, it yields
DirEntry objects that include file type and stat information along
with the name. Using scandir() increases the speed of os.walk() by
2-20 times (depending on the platform and file system) by avoiding
unnecessary calls to os.stat() in most cases.
Master sites:
SHA1: 64c550daec4ef70aa913e1e046b265ff9914c3e8
RMD160: d385710210e591105d516d180a6c8c04b1498bad
Filesize: 32.534 KB
Version history: (Expand)
- (2019-01-02) Package added to pkgsrc.se, version py27-scandir-1.9.0 (created)