Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
averne_
· 3y ago · 0 comments
You can just use __builtin_popcount or equivalent, which maps to a single instruction on most platforms.
Comments
No comments yet.
Better HN