开发者

python file copying

开发者 https://www.devze.com 2023-01-09 04:43 出处:网络
Is there any difference in speed of copying files from one location to another bet开发者_JAVA百科wen python or delphi or c++ ?

Is there any difference in speed of copying files from one location to another bet开发者_JAVA百科wen python or delphi or c++ ? I guess that all 3 laguages uses same or similar win api calls and that there is not much performance difference.


Pythons shutil module does not use the Windows API, but instead uses an open/read/write loop. This may or may not be slower than using CopyFile(Ex). Please measure it, everything else is just guessing.

0

精彩评论

暂无评论...
验证码 换一张
取 消