Posts Tagged arguments

Arguments Slowdown

While I was working on last week’s article it became apparent that something strange was going on with the arguments keyword in AS3. Last week I showed that even after you’ve changed the parameters of a function, you can still get the original values by indexing into arguments. This implies a copy and a copy implies a slowdown. Read on to see if there really is a slowdown and, if there is, what kind of performance impact there is.

Read the rest of this entry »

Tags: , , ,

No Comments

Argument Clash

I am often burned by MXMLC: the AS3 compiler. When I am, I find this infuriating and look for the reason why this happened. Today I’ll tip you off about this problem and delve into what it means if you happen to trigger it.

Read the rest of this entry »

Tags: , , , , ,

No Comments

Reverse Currying

As a followup to last week’s article on curry functions, today’s is about the reverse of currying.

Read the rest of this entry »

Tags: , ,

2 Comments

Variable Clashes

Scoping is pretty weird in AS3 for those coming from C/C++ and Java. There are two cases in particular you should know about.

Read the rest of this entry »

Tags: , ,

No Comments