Optimization: Array vs. Array List

Byak@

Active Member
Licensed User
in my code i'm store some (~50) data and i must get(read) and set(change) it (all data every time) witn interval ~60ms
what collector for this "problem" will be best?
 

agraham

Expert
Licensed User
Longtime User
Arrays are slightly faster than Arraylists, which are in fact based on an underlying array, but you probably won't see any difference in performance for other reasons. Why not knock up a test app to see if there is a significant time difference?
 

Byak@

Active Member
Licensed User
Thanks.
the code of sub, manipulated with data so very large and manipulate with many objects also.create a test sample for this is not easy))
i think somebody (Agraham for example =)) already know about it.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…