Python performance boost for Windows
If you have Python installed in newer Windows, it is very possible the Python installer is not giving the proper write permissions and Python is silently unable precompile its native modules.
If your Python\Lib\__pycache__ directory is empty, then this is the case.
Give your Python directory write permission for Users, and check the Python\Lib\__pycache__ directory filling up with precompiled modules after running some Python programs.
I have measured a performance boost between 20% to 300%!
|