[Python-ideas] speeding up shutil.copy*()
Antoine Pitrou
solipsis at pitrou.net
Sun Mar 3 23:02:57 CET 2013
On Sun, 3 Mar 2013 13:38:05 -0800
"Gregory P. Smith" <greg at krypto.org> wrote:
> IMNSHO the *time* is less relevant than the fact that it uses less memory
> by not repeatedly making copies.
Well, it doesn't repeatedly make copies, it just allocates a new buffer
every loop. At best, it will consume 16 KB instead of 32 KB.
Regards
Antoine.
More information about the Python-ideas
mailing list