Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] std::set<std::string> restore performance
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-04-07 12:27:31


Soumen wrote:
> Recently we're profiling our tool for restoration for a large
> electronic design. And we're restoring two archive of same number of
> elements - one uses vector as container while the other uses set. And
> it appears that restoration of set is much much slower than the
> vector. Both the restoration called from same parent which is called
> just once. And vector restoration took 2% of parent while set
> restoration took 83% of parent. And most of set restoration time is
> spent in :
>

Changes since 1.35 in the loading of set<...> should make it measurable
faster to load sets than the 1.35 version.

Robert Ramey


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net