Python Performance on Windows

后端 未结 6 1026
别那么骄傲
别那么骄傲 2020-12-20 13:50

Is Python generally slower on Windows vs. a *nix machine? Python seems to blaze on my Mac OS X machine whereas it seems to run slower on my Window\'s Vista machine

6条回答
  •  别那么骄傲
    2020-12-20 13:57

    Maybe the python has more depend on a lot of files open (import different modules).

    Windows doesn't handle file open as efficiently as Linux.

    Or maybe Linux probably have more utilities depend on python and python scripts/modules are more likely to be buffered in the system cache.

提交回复
热议问题