BTree-based persistent dict-like objects (regular dict and ordered) that can be used as base
classes. This is a bit of a heavyweight solution, as every zc.dict.Dict (and
zc.dict.OrderedDict) is at least 3 persistent objects. Keep this in mind if you intend to
create lots and lots of these. To build, run ``python bootstrap/bootstrap.py`` and then
``bin/buildout`` from this directory. A clean, non-system Python is strongly recommended.
An efficient, persistent and subclassable dict
PersistentDict is very inefficient if it contains more than a couple of values, and BTrees
are not recommended to inherit from.
This class is a simple wrapper over a BTree. It retains the efficiency of BTrees and is safe
to use as a base class. Also, it implements the full Python dict interface.
|