Post

 Resources 

Console


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


-
Up One Level | Back to Forum

Okay, thanks! *NT* Almar Joling (0 replies) (2000-Oct-1)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 87 visitors within the last 20 minutes
RSS News Feed