有没有意义使用Vector.<Object>
,还是我应该坚持使用Array
?
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).
..和Vector是一种创建类型化数组列表的简便方法,有利于调试和应用程序的稳定性
如果您需要定位早期的Flash版本(在Flash Player 10之前)坚持使用数组
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.