On Mon, Nov 30, 1998 at 11:08:09AM +0100, Ernst de Haan wrote:
> Chris et all,
> 
<snip>
> 
> The Vector class uses an array. The JVM may not store the elements of
> the array in sequential memory locations, but that is not an issue. The
> programming interface is well-defined, and the internals of the
> arraycopy() method will handle non-contiguous arrays as well as
> contiguous.
> 
<snip>

Does that mean the internals of arraycopy() look like this:

   for (int i=0; i < num_elements; i++)
      newArray[i] = oldArray[i];

No wonder Java is so speedy. ;)

Gary Mart
[EMAIL PROTECTED]

Reply via email to