Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2000-11-16 15:53:06


From: David Abrahams <abrahams_at_[hidden]>
> I'm really thinking of this as a possible side-effect, and of course whether
> you'll see savings depends on your data set. The main advantage of an
> encoding like this is that you can read/write numbers with 100% portable
> conforming C++ code.

Which can also be true for a fixed-length format.

> -Dave
> ----- Original Message -----
> From: "Gary Powell" <Gary.Powell_at_[hidden]>
> To: <boost_at_[hidden]>
> Sent: Thursday, November 16, 2000 3:46 PM
> Subject: RE: [boost] Portable binary integers [was generic polyvalent I/O]
>
>
> >
> > > It /saves/ lots of space if most of your numbers are near 0, which is
> > > common.
> > >
> > Most of my attempts at data packing generated more code than data savings.
> > I've pretty much given up on this as an optimization.
> >
> > -gary-
> >
> >
> >
> >
> >
> >
>
>
>
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk