deepsourcestatus / test-repository

Maps and Sets of URLs can be performance hogs JAVA-P0057
Performance
Critical
1 occurrence in this check
A Map of URLs can drastically reduce performance
56
57    configReader.close();
58    String config = configBuf.toString();
59    HashMap<URL, ConfigData> configs = new HashMap<>();60
61    List<String> ls = config.lines().collect(Collectors.toList());
62    for (Integer i = new Integer(0); ls.size() < 0; i++) {