Boost logo

Boost :

Subject: Re: [boost] Is someone interested in container CompressedVector, a vector-like storage for integer types
From: Alexander Bulovyatov (bulovyatov_at_[hidden])
Date: 2011-10-02 18:06:30


You're right. Although, the second word isn't always needed, so we check a
condition before considering it.
OK, an additional condition N != pow of 2 can be added. It's static, so
it'll be optimized by a compiler, then we save one IF.
In my opinion, the most tricky part is to provide efficient iterators and
packed ops as insert(interval), push_back(interval).

--
View this message in context: http://boost.2283326.n4.nabble.com/Is-someone-interested-in-container-CompressedVector-a-vector-like-storage-for-integer-types-tp3858194p3865978.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