Dictionary can have
int keys and that
int keys are faster than
String keys, a natural performance test follows: which class is fastest at reading from and writing to those
int keys? Is there a difference between the four
Vector classes? Today’s article performs just that test and comes up with the answers.
Posts Tagged keys
Sometimes you need to map a key to many values, but AS3 has no built-in data structure for this purpose.
Object are suitable one-to-one maps, but there’s been no one-to-many support until now. Read on for my own one-to-many class—
MultiMap—as well as performance testing and analysis.