Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Runtime overhead of serialization archives
From: Bjorn Reese (breese_at_[hidden])
Date: 2016-09-21 17:31:09


On 09/21/2016 08:35 PM, Georg Gast wrote:
> Am 21.09.2016 um 19:36 schrieb Bjorn Reese:

>> The Boost archives use iostreams, whereas cstyle uses memcpy.
>
> Yes, thats clear. :)

I am not sure how to interpret your response. My statement was not a
casual observation about your tests, but the main explanation for the
difference in performance.

That is one of the reasons why my own archives, unlike the ones
that are part of Boost.Serialization, are constructed to serialize
directly to/from other container types such as arrays, std::string,
and std::vector.


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