diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-04 12:16:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 12:16:35 (GMT) |
commit | d4d79bc1ff91b04625c312f0219c89aabcd19ce4 (patch) | |
tree | ba24dc24106347ce69d12d5e27532ccfb929e50e /Misc | |
parent | 82cd3cede804ca694fb0657fd985d5eff84a414f (diff) | |
download | cpython-d4d79bc1ff91b04625c312f0219c89aabcd19ce4.zip cpython-d4d79bc1ff91b04625c312f0219c89aabcd19ce4.tar.gz cpython-d4d79bc1ff91b04625c312f0219c89aabcd19ce4.tar.bz2 |
bpo-28564: Use os.scandir() in shutil.rmtree(). (#4085)
This speeds up it to 20-40%.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst b/Misc/NEWS.d/next/Library/2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst new file mode 100644 index 0000000..0889119 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst @@ -0,0 +1,2 @@ +The shutil.rmtree() function has been sped up to 20--40%. This was done +using the os.scandir() function. |