[issue28564] shutil.rmtree is inefficient due to listdir() instead of scandir()

Niklas Hambüchen report at bugs.python.org
Sat Dec 30 00:15:42 EST 2017


Niklas Hambüchen <nh2 at deditus.de> added the comment:

I've filed https://bugs.python.org/issue32453, which is about O(n^2) deletion behaviour for large directories.

----------
nosy: +nh2

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28564>
_______________________________________


More information about the Python-bugs-list mailing list