Message199525
To speedup Python startup, it may be interesting to not create useless many functions and classes in operator.py: "from _operator import *" will remove them a few line later.
What do you think of moving the Python implementation of the operator module inside in the else block of "try/except ImportError" section?
See attached operator.py for an example.
It adds an ugly level of indentation, but it's for performances!
Another option is to add a _pyoperator module. |
|
Date |
User |
Action |
Args |
2013-10-11 23:49:11 | vstinner | set | recipients:
+ vstinner, christian.heimes |
2013-10-11 23:49:11 | vstinner | set | messageid: <1381535351.94.0.0685942795619.issue19229@psf.upfronthosting.co.za> |
2013-10-11 23:49:11 | vstinner | link | issue19229 messages |
2013-10-11 23:49:11 | vstinner | create | |
|