lightspark/lightspark — Issue #144: Avoid using heap allocation in favor of stack allocation
Author: mgehre
Created: 2011-10-26 11:14:26+00:00
State: open

...because its faster and does not produce memory fragmentation.
A good place to start is abc_opcodes. A lot of functions start with
ASObject** args = new ASObject*[argslen]
which can be transformed into
ASObject* args[argslen]
etc.