CountBitsSet download
CountBitsSet
CountBitsSet DescriptionI was curious how much better the Algorithms pointed out by BitTwiddling Hacks are than my simple Lookup Table approach...
Now I think, perhaps my little investigation is interesting for others too...
PS: the parallel counting Algo is about 2 times !!! faster on average on my computers than the LUT solution(s). Also this shows nicely how different a human brain compatible solution is to a binary machine optimal solution :-)
CountBitsSet Features
Download:Click Here
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home