22.7 参考资料

·StackOverflow网站上的一个帖子对Hamming Weight主题进行了讨论,并给出了有用的参考信息:http://stackoverflow.com/questions/109023/how-to-count-the-number-of-set-bits-in-a-32-bit-integer。

·博客文章《Counting The Number Of Set Bits In An Integer》给出了variable-precision SWAR算法的介绍:http://yesteapea.wordpress.com/2013/03/03/counting-the-number-of-set-bits-in-an-integer/。