magicalhobo / SWFWire

Flash Development Tools

Home Page:http://www.swfwire.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extreme performance issues and unoptimized decompilation of logical operators.

magicalhobo opened this issue · comments

The following code turns into a huge group of nested if, and if duplicated a few times, takes more than a minute to decompile.
var obj:Object;
if(obj.prop == 1 || obj.prop == 2 || obj.prop == 3 || obj.prop == 4)
{
trace('if');
}
else
{
trace('else');
}

This still decompiles into a huge block of code, but for now homes410's commit fixes this.