On Mon, 15 Mar 2004 15:38:04 -0800, "News Central" <Bay@Bay.com>
wrote:
[color=blue]
>Can anyone give some overview of the difference between array and Collection
>in terms of performance.... thanks :>[/color]
Using Collection you can provide a key to get the item without doing a nest
loop.
e.g.
Dim temperature As New Collection
temperature.Add 23, "KL" ' collection_obje ct.Add value, key
temperature.Add 10, "Leeds"
temperature.Add 5, "China"
'To get the KL temperature
Dim t
t = temperature.Ite m("KL")
Regards,
Joon Nan
"News Central" <Bay@Bay.com> wrote in message
news:do2dnZRvoK xOo8vdRVn-ug@baytsp.com.. .[color=blue]
> Can anyone give some overview of the difference between array and[/color]
Collection[color=blue]
> in terms of performance.... thanks :>
>
>[/color]
Comment