3 ms·
From what I've heard it's actually faster to create a 256 byte lookup table than to use popcnt.
by ummonk 2y ago
From what I've heard it's actually faster to create a 256 byte lookup table than to use popcnt.
- mik1998 2y agoIt used to be pretty bad on old intel processors but nowadays it should be faster than an L1 fetch.