Y
Hacker News
new
|
ask
|
show
|
jobs
by
borodi
758 days ago
There is, it's called count_ones. Though I wouldn't be surprised if LLVM could maybe optimize some of these loops into a popcnt, but I'm sure it would be brittle