Unsafe.{get,put}-X-Unaligned performance

Andrew Haley aph at redhat.com
Fri Mar 13 08:41:39 UTC 2015


On 12/03/15 22:15, Vitaly Davidovich wrote:
> Switches currently don't profile well (if at all) - John can shed more
> light on that as this came up on the compiler list a few weeks ago.

My first version used switches and the generated code was horrible.
The version I submitted generates optimal (or near-optimal) code.
There isn't much to be gained by tweaking the code at this level.

Andrew.



More information about the core-libs-dev mailing list