一些技术站点,平时在看别人文章时遇到的。
Hamming Weight: http://en.wikipedia.org/wiki/Hamming_weight
Everything上的讨论: http://everything2.com/index.pl?node=Counting%201%20bits
HAKMEM ITEM 169: http://www.inwap.com/pdp10/hbaker/hakmem/hacks.html#item169
Set-bit Population Counts: http://www.technovelty.org/code/arch/popcount.html
Popcount: http://wiki.cs.pdx.edu/forge/popcount.html
HAKMEM 169 and other popcount implementations: http://www.dalkescientific.com/writings/diary/archive/2008/07/03/hakmem_and_other_popcounts.html
Population count of a 32-bit register: http://www.df.lth.se/~john_e/gems/gem002d.html
《编程之美》读书笔记——“求二进制数中1的个数: http://bvcat007.javaeye.com/blog/203577
Henry S. Warren, Jr. Chapter 10. The Quest for an Accelerated Population Count. Beautiful Code.
GMP: http://gmplib.org/