Performance: Redundant call to 'String.format()'

This commit is contained in:
TacoTheDank 2020-11-19 15:22:27 -05:00
parent 0fa24bdc8e
commit 0f9573e22e

View file

@ -68,7 +68,7 @@ public class TspHeldKarp {
}
break;
}
System.err.printf(".");
System.err.print(".");
PriorityQueue<Node> children = new PriorityQueue<Node>(11, new NodeComparator());
children.add(exclude(currentNode, i, currentNode.parent[i]));
for (int j = 0; j < n; j++) {