VBGamer |
|||||||||||||||||||||||||||
RE: Array callback? Corre (1 reply, 0 views) (2000-Oct-1) That depends on what you are measuring the speed for.
Arrays are faster if you loop through them and check each value. But collections are faster if you retrieve just one value (if it is indexed). Collections are also faster if you want to add/remove items.
So they both have their uses. And by combining them, as discussed above, you can get the fast search speed of the collection, as well as the fast dataaccess of arrays.
/Corre
|