JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issuesList of issues

#2687 AS2 decompilation: significant slowdown on nightly
Author:
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? Open attached file and view any class script, with "Skip detection of uninitialized class fields" disabled. > What is the expected output? What do you see instead? In 25.1.3 it decompiles in around half the time of nightly 3476. For me around 5 seconds on 25.1.3, 10 seconds on nightly. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 25.1.3 nightly 3476 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
Downloadui_hud.gfx (1,702 KiB)
The current nightly decompiles ActionScripts in two passes. It needs it to properly detect switch statements and loops. 25.1.3 decompiles usually in single pass, but it does not properly handle some switches and loops, also loop detection algorithm is different in 25.1.3 and very slow in some corner cases. So... yes, the nightly might appear slower, but for sake of decompilation precision. I may introduce some optimizations in the future, but currently I do not have any. The detection of uninitialized class fields effectively requires decompiling all scripts in the file so that's why it takes some time.