Re: Integer/Long reverse bits optimization

2016-04-29 Thread Jaroslav Kameník
Hi, thank you:) I have OCA signed and processed. I have changed Integer.reverseBytes, and added two small checks to BitTwiddle tests for Integer and Long, patch is attached. Jaroslav 2016-04-29 14:33 GMT+02:00 Claes Redestad : > Hi, > > > On 2016-04-29 13:36, Jaroslav Kameník wrote: > >> Hello

Re: Integer/Long reverse bits optimization

2016-04-29 Thread Claes Redestad
Hi, On 2016-04-29 13:36, Jaroslav Kameník wrote: Hello! I have a small patch to Integer and Long classes, which is speeding up bit reversion significantly. Last two/three steps of bit reversion are doing byte reversion, so there is possibility to use intrinsified method reverseBytes. Java impl