Full source code for my blog entry on this subject - http://chrsb.co/BNqAbM
1 people like thisPosted: 10 years ago by Chris Ballard
Counting 1-bits in a DWORD (int32) using the 'divide and conquer' strategy
2 people like thisPosted: 9 years ago by Fabio Galuppo
@Samuel - saw your post and thought one part was similar to bit shifting I was playing with yesterday, so rewrote the FromBooleans function using a fold instead of ref cells. Probably not as readable as your version though :)
2 people like thisPosted: 10 years ago by Chris Ballard