Peter Otten a écrit : (snip) > Before you go on with your odd caching schemes -- is the database properly > indexed? Something like > > CREATE UNIQUE INDEX mytable_id1_id2 ON mytable (id-1, id-2); > > (actual syntax may differ) might speed up the lookup operation > enough that you can do without caching.
Im my arms(tm) ! At least some sensible advice... -- http://mail.python.org/mailman/listinfo/python-list