RE: [SUBMIT] OptimizedFastArrayList

2002-04-17 Thread Jack, Paul
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?

Re: [SUBMIT] OptimizedFastArrayList

2002-04-17 Thread Louis Tribble
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

Re: [SUBMIT] OptimizedFastArrayList

2002-04-16 Thread Michael A. Smith
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