Boost logo

Boost Users :

Subject: Re: [Boost-users] eos_portable_archive for 1.49
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-06-25 21:09:24


Paul Harris wrote:
> On 20 June 2012 21:51, Mika Fischer <mika.fischer_at_[hidden]> wrote:
 
> Also, have you noticed that it loads a binary array of integers one
> integer at a time?
> I wonder if there is a way we could enable
> BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION(eos::portable_iarchive)
> it would mean implementing ar.save_array() for the eos archive.

Note that this optimization exploits the fact that an array of integers
can be handled as a block if no translation has to be done. the
portable binary archives use a variable length for integers and
these have to be handled one by one.

I'm afraid you're out of luch here.

RObert Ramey

>
>
> cheers,
> Paul
>
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users



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