my computer is allergic to pickles
Bob Fnord
bob at example.com
Sun Mar 6 17:15:26 EST 2011
Miki Tebeka <miki.tebeka at gmail.com> wrote:
> > I'm using python to do some log file analysis and I need to store
> > on disk a very large dict with tuples of strings as keys and
> > lists of strings and numbers as values.
> I recommend that you'll use the shelve module. It stores data on disk and is more memory efficient than in-memory pickle objects.
OK, I got this to work with marshal. What makes shelve better?
Or, which situations does shelve suit better and which does
marshal suit better?
More information about the Python-list
mailing list