Hacker News new | ask | show | jobs
by adastra22 1105 days ago
Popcount is extremely common in algorithms. XOR then popcount gives hamming distance, for example. I’ve used lzcnt many times as well, in parsing binary formats and flag fields.