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

STINNER Victor report at bugs.python.org
Fri Feb 13 12:37:34 CET 2015


STINNER Victor added the comment:

> Result of bench (cached): scandir-6.patch => scandir-2.patch
> (...)
> laptop using SSD and ext4: 1.3x faster => 2.8x faster
> desktop PC using HDD and ext4: 1.4x faster => 1.4x faster

Oops, I copied the wrong numbers. scandir-2.patch is faster than that!

* laptop using SSD and ext4: 1.3x faster => 3.6x faster
* desktop PC using HDD and ext4: 1.4x faster => 3.5x faster

----------

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


More information about the Python-bugs-list mailing list