generator: performance optimization

Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
Tavi 2024-09-08 03:19:15 -04:00
parent b7e22c3b31
commit 525bba9dcb
No known key found for this signature in database
GPG key ID: E599F62ECBAEAF2E

View file

@ -63,7 +63,7 @@ public class Main {
private static boolean extendedMode = false;
private static ArrayList<String> arrExclusions = new ArrayList<String>();
public static final Set<String> arrExclusions = new HashSet<>();
public static void main(String[] args) {
extendedMode = args[0].contains("-extended");
@ -105,7 +105,6 @@ public class Main {
}
if (!line.startsWith("#") && isHexadecimal(line) && (line.length() == 32 || line.length() == 40 || line.length() == 64)) {
arrExclusions.add(line);
//System.out.println("\t\tAdded: " + line);
}
}