Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Menu

Commit [r629]  Maximize  Restore  History

"import" creates GIL overhead every time it is run. For threaded MySQLdb apps,

it doesn't make sense to pay that cost for every execute(), so lets move some
of these imports.

http://wiki.python.org/moin/PythonSpeed/PerformanceTips#ImportStatementOverhead

kylev 2009-05-18

changed /branches/MySQLdb-1.2/MySQLdb/MySQLdb/cursors.py
/branches/MySQLdb-1.2/MySQLdb/MySQLdb/cursors.py Diff Switch to side-by-side view
Loading...