DocumentCode :
2926672
Title :
A fast bit-counting algorithm
Author :
Berkovich, Simon ; Lapir, Gennadi M. ; Mack, Marilyn
Author_Institution :
George Washington Univ., Washington, DC, USA
fYear :
1998
fDate :
14-17 Sep 1998
Firstpage :
493
Lastpage :
496
Abstract :
Various information retrieval problems encounter time-consuming bit-counting operations. For example, to choose a rational access strategy it is necessary to repeatedly evaluate the cardinalities of retrieved sets of information items. A straightforward implementation of this procedure involves shifting of data words which makes the time of bit-counting proportional to the length of the machine word. In the suggested implementation, bit-counting is done with machine words as a whole by emulating the summation through some bitwise logical operations. It turns out, that for 32 bits this algorithm runs more than 3 times faster than conventional horizontal methods and is comparable to all other methods for typical random number cases. It is better than all methods in the worst case. In future computers, with 64-bit words and bigger the gain in speed will be correspondingly higher
Keywords :
digital arithmetic; document handling; information retrieval; bit sliced signature files; bitwise logical operations; data words; document retrieval; fast bit-counting algorithm; half adder; information retrieval; machine word; random number; rational access strategy; vertical counting; Counting circuits; Decision making; Delay; Employment; Hamming distance; Information filtering; Information filters; Information retrieval; Internet; Vector quantization;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Intelligent Control (ISIC), 1998. Held jointly with IEEE International Symposium on Computational Intelligence in Robotics and Automation (CIRA), Intelligent Systems and Semiotics (ISAS), Proceedings
Conference_Location :
Gaithersburg, MD
ISSN :
2158-9860
Print_ISBN :
0-7803-4423-5
Type :
conf
DOI :
10.1109/ISIC.1998.713711
Filename :
713711
Link To Document :
بازگشت