Long.bitCount micro-optimization

Brian Burkhalter brian.burkhalter at oracle.com
Tue May 9 00:11:19 UTC 2017


On May 8, 2017, at 5:07 PM, Joseph D. Darcy <joe.darcy at oracle.com> wrote:

> This is a case of "jmh results or it isn't faster." [1]
> 
> It is challenging to evaluate such changes as being universally faster without benchmark results, especially for small methods like this. Without compelling performance support, my preference would be to leave the current Java implementation as-is, especially when there are VM intrinsics on many platforms.

I concur.

Brian


More information about the core-libs-dev mailing list