Author: Ed Leafe
Posted: 2005-11-08 at 07:24:34
On Nov 8, 2005, at 3:13 AM, Eyvind Axelsen wrote:
> Damn, that's sweet! From the looks of it, I am very impressed.
> Would you mind sharing how you were able to do this in python?
Never! It's a proprietary secret!!
Actually, it was amazingly simple: I incorporated the open-
source library SQLite (http://www.sqlite.org/), and its Python
wrapper, pysqlite (http://initd.org/tracker/pysqlite). SQLite can
create in-memory databases that require no disk presence, meaning
that they are very fast and clean up after themselves when you drop
the connection. The only hard part I had to do was to manage the
conversion of the data from Python lists into the database, and vice-
versa with the results.
-- Ed Leafe