|
-
Jul 16th, 2002, 01:05 AM
#1
Dazed Member
Posted by hellswraith
I believe the arraylist will have more overhead, but I haven't checked it personally.
I think that you would be right. An array should run faster since it is a block of computer memory that contains multiple instances of the same data type. Plus you would have to take into account wether an arraylist offers synchronization(thread safety). In Java you usualy get better performance using an ArrayList vs a Vector.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|