This is the most elegant way of counting bits set in an unsigned integer.
unsigned int num_bits;
for (num_bits = 0; in_integer; num_bits++)
{
in_integer &= in_integer - 1;
}
This is the most elegant way of counting bits set in an unsigned integer.
***** Data Compression Conference (DCC’2008) *****
Snowbird, Utah
Tues, March 25 - Thurs March 27, 2008
The CALL FOR PAPERS is posted at:
www.cs.brandeis.edu/~dcc
DCC is held at the Cliff Lodge convention center in the beautiful
Snowbird / Alta Ski areas; located a short ride from the Salt
Lake City International Airport.
It is an international forum for current work on data compression
and related applications. The conference addresses not only
compression methods for specific types of data (text, images,
video, audio, medical, scientific, space, graphics, web content,
etc.), but also the use of techniques from information theory and
data compression in networking, communications, and storage
applications involving large data sets (including image and
information mining, retrieval, archiving, backup, communications,
and HCI). Both theoretical and experimental work are of interest.