Best method for updating pickled data objects?
Rupert Scammell
rupe at metro.yak.net
Fri Jul 6 15:44:46 EDT 2001
Neil Schemenauer <nas at python.ca> wrote in message news:<mailman.994365490.28604.python-list at python.org>...
> Rupert Scammell wrote:
> > Deleting and recreating the pickle file, then writing out the data
> > object from memory each time seems horribly inefficient to me
> > (especially for large data objects). There's got to be a better way to
> > do this. Any suggestions would be appreciated.
>
> You want ZODB:
>
> http://www.amk.ca/zodb/
>
> Its sounds complicated and scary but its really easy to use.
>
> Neil
Thanks for your help Neil. ZODB looks like an elegant solution to
this problem, and appears to have some nice extra features to boot.
The semi-intelligent caching of dirty objects back to disk is
especially useful. Once again, Andrew saves the day!
--- Rupert
More information about the Python-list
mailing list