pleco::bit_twiddles
pub fn popcount64(x: u64) -> u8
Counts the number of bits
use pleco::bit_twiddles::*; assert_eq!(popcount64(0b1001), 2);