Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Vector vs Array performance?

807603Feb 20 2007 — edited Jan 11 2008
Hi, I've heard some ppl says that Vector is slower than Array. Does anyone know what's the different in speed between using an array and a vector?
Say with the same algorithm, the one uses array take 10s for 1mil iteration, how long with it take for vector?
Thanks...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2008
Added on Feb 20 2007
13 comments
261 views