New submission from sfmc <sergey_filimo...@mentor.com>:

In Windows shutil.copy() uses _copyfileobj_readinto which copies file in user 
mode.
In Windows there is an fast API to copy file in kernel mode: CopyFile (see 
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-copyfile).

----------
components: Library (Lib)
messages: 397076
nosy: sfmc
priority: normal
severity: normal
status: open
title: shutil.copy() inefficient implementation in Windows
type: performance
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44579>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to