Boost logo

Boost :

Subject: Re: [boost] Is someone interested in container CompressedVector, a vector-like storage for integer types
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-10-02 09:54:40

Alexander Bulovyatov wrote:
> Well, I don't see any special optimization for 2, 4 bits. They will work
> faster than, say 7, because a compiler replaces mul / div by power of 2
> with << >> ops.


In this cases you are sure the bits will be always on the same word, so
there is no need to take care of managing multiple words for theese cases.


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at