[issue13299] namedtuple row factory for sqlite3

Glenn Langford report at bugs.python.org
Fri May 16 17:19:15 CEST 2014


Glenn Langford added the comment:

...if I understand the proposed caching scheme, then repeated executions of the query

SELECT a,b,c FROM table

would result in cache hits, since the column names remain the same. I'm guessing this would resolve the performance problem in the app I saw, but it would be good to verify that performance is broadly similar with/without named tuples.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13299>
_______________________________________


More information about the Python-bugs-list mailing list