3 ms·
Interesting. Previously when I've needed in-memory relational logic, I've used conn = sqlite3.connect(':memory:') For example, an SPOJ context judge. http
by paulddraper 10y ago
Interesting. Previously when I've needed in-memory relational logic, I've used
conn = sqlite3.connect(':memory:')
For example, an SPOJ context judge. https://github.com/pauldraper/spoj-judge/blob/master/judge.py https://github.com/pauldraper/spoj-judge/blob/master/judge.p...
- Wilduck 10y agoThis library is actually doing that under the hood. It loads your dataframes into an in-memory sqlite database as tables and then passes your queries along.
- paulddraper 10y agoHa ha, no way.... Well, now I don't feel so hackish.