GNU的__builtin_popcount函数

用来计算32位的unsigned int中的1的个数, 其内部实现是根据查表法来计算的。

原文地址:https://www.cnblogs.com/Stomach-ache/p/3810639.html