Full threadsomeweirdperson·count_ones() is a challenge on its own.https://graphics.stanford.edu/~seander/bithacks.html#CountBi...View on HN