STINNER Victor <vstin...@redhat.com> added the comment:

Giampaolo Rodola':
> shutil.copyfile() already uses sendfile() which basically provides the same 
> performances. sendfile() should be preferred though because it’s supported 
> since Linux 2.6.33.

Pablo Galindo Salgado:
> But copy_file_rane can leverage more filesystem features like deduplication 
> and copy offload stuff.

We can use copy_file_range() if available, or fallback to sendfile().

----------

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

Reply via email to