AS3 has two integer types:
uint. In my experience, most AS3 programmers just use
int everywhere and ignore
uint. This is usually acceptable as the need for unsigned integers is rare compared to their signed counterparts. However, there are significant performance differences between the two. Read on for the impact of
uint on your loops. The original version of this article’s performance test contained a small-but-critical error that led to a lot of incorrect analysis and results. This version of the article has been corrected.
Read the rest of this article »