[Python-ideas] speeding up shutil.copy*()
solipsis at pitrou.net
Sun Mar 3 21:12:01 CET 2013
On Sun, 3 Mar 2013 20:55:15 +0100
<cf.natali at gmail.com> wrote:
> > Can you post your benchmark's code? I could time it on a SSD.
> Attached (for readinto() and sendfile()).
Ok, the readinto() version doesn't seem to make a difference here, only
the sendfile() version is beneficial (and the benefits are mostly
noticeable from tmpfs to /dev/null, as you point out :-)).
More information about the Python-ideas