Homec4science

dbquery: switch off GC during SQL execution

Authored by Benoit Thiell <bthiell@cfa.harvard.edu> on Jan 16 2012, 23:44.

Description

dbquery: switch off GC during SQL execution

  • Switches off temporarily Python cyclic GC during SQL query execution. This speeds up generating tuple-of-tuples that the run_sql() returns, avoiding Python GC issue http://bugs.python.org/issue4074.

Co-authored-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jan 17 2012, 00:00
Parents
R3600:77fae8bd074e: dbquery: fix regression test depending on year
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:7a2b03d232a0: dbquery: switch off GC during SQL execution (authored by Benoit Thiell <bthiell@cfa.harvard.edu>).Jan 17 2012, 00:00