i'm writing something that must clone a multidimensional array of bytes many times, and as such, efficiency is somewhat important in this part of the code.
is it somehow possible to use System.arraycopy with multidimensional arrays? and if so, is the performance better than using a nested for loop? are there any other methods which perform well? (I've heard that cloning and casting a multidimensional array of primitives is fairly slow, comparatively.)
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."
is it somehow possible to use System.arraycopy with multidimensional arrays? and if so, is the performance better than using a nested for loop? are there any other methods which perform well? (I've heard that cloning and casting a multidimensional array of primitives is fairly slow, comparatively.)
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."