Is there any external behavior difference between FastArrayList and your
OptimizedFastArrayList (other than performance)? If so, can you
explicitly specify the differences and why? If not, is there a reason not
to just replace the existing FastArrayList with the faster implementation?
clone I really mean reallocate. java.util.ArrayList uses
System.arraycopy in its add(int, Object) implementation; and the javadoc
for System.arraycopy indicates that if the source and target arrays
are the same, a new array is allocated, the source is copied to the
new array, and then the
On Tue, 16 Apr 2002, Jack, Paul wrote:
Attached is a new List implementation inspired by
but faster than FastArrayList. From the javadoc:
Is there any external behavior difference between FastArrayList and your
OptimizedFastArrayList (other than performance)? If so, can you
explicitly