Espigah / monsterdebugger

Automatically exported from code.google.com/p/monsterdebugger
0 stars 0 forks source link

Performance Tweak #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In MonsterDebuggerUtils line 875 in parseClass (and anywhere else it exists)

You access the xml fields using a double ".." which causes it to run very slow.

    var variables:XMLList = description.variable;
    var accessors:XMLList = description.accessor;
    var constants:XMLList = description.constant;

gets you a significant speedup.

Original issue reported on code.google.com by sybersn...@gmail.com on 7 Aug 2012 at 1:29