$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Buster (booster_at_[hidden])
Date: 2005-12-16 10:53:39
Mick Hollins wrote:
>
> The approach I use is to use Berkeley DB for transactional persistence
> of each element/object in the database, and boost::serialization for
> converting C++ objects to and from the array of bytes that is required
> by Berkeley DB. That is, I serialize at the granularity of individuals
> objects in the database, rather than serializing the whole database
> contents in one go.
Thanks, sounds like an excellent approach. I guess the only
downside is that boost::serialization can't detect duplicates
between elements, but I would imagine most implementations
are unlikely to have many of those.