News for hackers. Stuff that matters.
Re:Records: Python library for making raw SQL queries to Pos... by kilink on Sunday February 07, 2016 @02:41PM (#11054424)
If this were a big deal, it could be optimized using something like a key-sharing dict implementation [1]. You can keep the dict interface to accommodate column names that aren't valid identifiers, and avoid most of the memory overhead.

[1] https://www.python.org/dev/peps/pep-0412/

Re:Records: Python library for making raw SQL queries to Pos... by jstimpfle on Sunday February 07, 2016 @02:47PM (#11054456)
python-sqlite3's RowFactory does this as well.