On 02/02/16 19:25, Mikael Vidstedt wrote: > Please review this change which introduces a Copy::conjoint_swap and an > Unsafe.copySwapMemory method to call it from Java, along with the > necessary changes to have java.nio.Bits call it instead of the Bits.c code.
There doesn't seem to be any way to use a byte-swap instruction in the swapping code. This will make it unnecessarily slow. Andrew.