Message344584
| Author |
vstinner |
| Recipients |
StyXman, desbma, facundobatista, giampaolo.rodola, martin.panter, ncoghlan, neologix, pablogsal, petr.viktorin, vstinner |
| Date |
2019年06月04日.15:02:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1559660572.91.0.567927969254.issue26826@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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(). |
|