website
0.3
A Compressed Bitset Class
http://codeguru.com/Cpp/Cpp/cpp_mfc/bits/article.php/c7429/
rating:
not rated
We have developed the CMJBitset class as a plug-in replacement for bitset. The CMJBitset classm depending on compilation optionsm may take as little as 7 bytes to represent a bitset of any size, assuming all the bits are set or reset. In comparision, a 1024 bitset will take 128 bytes. In essence, the CMJBitset operates by run length encoding a bitset if the bitset is either almost all set/reset, but otherwise uses the STL bitset class.
Created: 27 Jun 2004 00:00
by
Mark Nelson
Published: 27 Jun 2004 00:00
Last Updated: 27 Jun 2004 00:00 by
Mark Nelson
Other links to site codeguru.com:
8 links to this site were found