mirror of
https://github.com/MaintainTeam/Hypatia.git
synced 2025-02-28 21:38:21 +03:00
generator: performance optimization
Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
b7e22c3b31
commit
525bba9dcb
1 changed files with 1 additions and 2 deletions
|
@ -63,7 +63,7 @@ public class Main {
|
||||||
|
|
||||||
private static boolean extendedMode = false;
|
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) {
|
public static void main(String[] args) {
|
||||||
extendedMode = args[0].contains("-extended");
|
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)) {
|
if (!line.startsWith("#") && isHexadecimal(line) && (line.length() == 32 || line.length() == 40 || line.length() == 64)) {
|
||||||
arrExclusions.add(line);
|
arrExclusions.add(line);
|
||||||
|
|
||||||
//System.out.println("\t\tAdded: " + line);
|
//System.out.println("\t\tAdded: " + line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue