Author niklasf
Recipients Jim Fasarakis-Hilliard, mark.dickinson, niklasf
Date 2017-03-22.21:38:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Searching popcount in Python files on GitHub yields
a considerable number of examples:

Perhaps intresting:

* In CPython itself: See count_set_bits in

* Domain specific applications: Bitboards in Chess,
  fairly shuffling cards in Poker, comparing molecules

* Size of bitsets (see bitarray and bitsets I listed above).
  Probably for this reason also as a first class citizen
  in Redis:

Probably most important:

* As the Hamming Distance:


Btw. not a concrete application. I just stumbled upon this.
popcnt was considered important enough to be included in the
rather limited WebAssembly instruction set:
Date User Action Args
2017-03-22 21:38:05niklasfsetrecipients: + niklasf, mark.dickinson, Jim Fasarakis-Hilliard
2017-03-22 21:38:05niklasfsetmessageid: <>
2017-03-22 21:38:05niklasflinkissue29882 messages
2017-03-22 21:38:04niklasfcreate