Rudiger
Rudiger

Reputation: 23

ActionScript 3.0: Array vs. Vector.<Object>

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

Upvotes: 2

Views: 399

Answers (3)

Tom
Tom

Reputation: 12659

If you need to target earlier flash versions (before Flash Player 10) stick with array

Upvotes: 2

JabbyPanda
JabbyPanda

Reputation: 871

.. and Vector is an easy way to create typed array lists, which is good for debugging and application stability

Upvotes: 4

jpea
jpea

Reputation: 3079

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).

Upvotes: 6

Related Questions