dotnet/corefx — pull request #155 by AndreyAkinshin (2014-11-25 01:10:21+00:00)
Title: Fast implementation of Hamming weight

The target method: System.Reflection.Internal.BitArithmetic.CountBits
Old implementation uses 24 arithmetic operations
New fast implementation uses 12 arithmetic operations