Hacker News new | ask | show | jobs
by ummonk 762 days ago
From what I've heard it's actually faster to create a 256 byte lookup table than to use popcnt.
1 comments

It used to be pretty bad on old intel processors but nowadays it should be faster than an L1 fetch.