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: http://boost.2283326.n4.nabble.com/Is-someone-interested-in-container-CompressedVector-a-vector-like-storage-for-integer-types-tp3858194p3865122.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk