Posts Tagged types

Array vs. Vector Part II

Today’s article is in response to some interesting comments on the previous article comparing Array’s performance to that of Vector. Today I’ll test different types of Vectors and the performance of deleting elements.

Read the rest of this entry »

Tags: , , , , , ,

6 Comments

Details of toString()

When an object is converted to a String, it is first checked for a toString() method. But there are subtleties to this that you may not have considered.

Read the rest of this entry »

Tags:

No Comments

Null and Undefined

Usually languages just have one way to specify “no value”. Call it null or nil or whatever you’d like, but AS3 and JavaScript have two: null and undefined. Here’s a little bit to help you understand when and why you’ll come across the two as well as some tricky differences between them.

Read the rest of this entry »

Tags:

No Comments