do not cache RECTs and (String,String) maps to file

This commit is contained in:
honfika@gmail.com
2015-01-31 18:37:19 +01:00
parent f6b3d62088
commit 0f54e89379
8 changed files with 131 additions and 116 deletions

View File

@@ -308,13 +308,13 @@ public final class SWF implements SWFContainerItem, Timelined {
private final IdentifiersDeobfuscation deobfuscation = new IdentifiersDeobfuscation();
@Internal
private static Cache<String, SerializableImage> frameCache = Cache.getInstance(false, "frame");
private static Cache<String, SerializableImage> frameCache = Cache.getInstance(false, false, "frame");
@Internal
private final Cache<ASMSource, CachedScript> as2Cache = Cache.getInstance(true, "as2");
private final Cache<ASMSource, CachedScript> as2Cache = Cache.getInstance(true, false, "as2");
@Internal
private final Cache<ScriptPack, CachedDecompilation> as3Cache = Cache.getInstance(true, "as3");
private final Cache<ScriptPack, CachedDecompilation> as3Cache = Cache.getInstance(true, false, "as3");
public void updateCharacters() {
characters = null;