Hashed lookups for tabular data

Joseph L. Casale jcasale at activenetwerx.com
Mon Jan 19 19:59:49 CET 2015


> If you want an sql-like interface, you can simply create an in-memory
> sqlite3 database.
> 
>  import sqlite3
>  db = sqlite3.Connection(':memory:')
> 
> You can create indexes as you need, and query using SQL.  Later, if you
> find the data getting too big to fit in memory, you can switch to using
> an on-disk database instead without significant changes to the code.

Hey kushal,
For the effort it would take, I'll add an implementation using this this
when I start profiling for the sake of curiosity.

Thanks,
jlc


More information about the Python-list mailing list