Subject: Re: [boost] [Boost-users] Updated performance results using Boost Serialization 1.41
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2009-12-07 14:34:31
Kim Barrett writes:
>On Dec 4, 2009, at 7:11 PM, Hartmut Kaiser wrote:
>> Our measurements show Boost.Serialization spends most of its time
>> (constructing) archives and there it's mainly initializing the locale...
> The locale initialization can be avoided if your application can get away
with using the
> boost::archive::no_codecvt construction flag. (Assuming that's still
behaving the same
> as when I looked into this performance area back around boost 1.33.)
> These threads may also be of interest:
Based on that link I tried it as follows:
int const binary_archive_flags =
boost::archive::no_header | boost::archive::no_codecvt;
binary_oarchive oa(fb, binary_archive_flags);
oa << lst;
I didn't discern any improvement to the performance of this
test from adding those flags.
I don't see how that is relevant.
> I keep promising myself that I will soon collect sufficient round tuits to
> about this, but so far those promises remain broken. Maybe once I upgrade
my team to boost 1.41.
-- Brian Wood Ebenezer Enterprises http://www.webEbenezer.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk