Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActionScript 3.0: Array vs. Vector.<Object>

Is there any point to using Vector.<Object>, or should I just stick with Array?

like image 626
Rudiger Avatar asked May 09 '26 05:05

Rudiger


1 Answers

Performance. If you are doing operations that store/retrieve tons of values from a dataset, a vector will probably perform much faster than an array. (ie: millions of values, not say, 100 values in an array).

like image 151
jpea Avatar answered May 11 '26 23:05

jpea



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!