Re-enabled parallelStreams, as the offset fix seems to have been the
cause of earlier problems, not concurrency.
@@ -227,10 +227,10 @@ public class LocalMerger {
final var externalNodeIdToTypeMap = artifact.externalNodeIdToTypeMap();
final var internalNodeIdToTypeMap = artifact.internalNodeIdToTypeMap();
- artifact.getGraph().getInternalCalls().entrySet().stream().forEach(arc ->
+ artifact.getGraph().getInternalCalls().entrySet().parallelStream().forEach(arc ->
processArc(artifact, universalParents, universalChildren, typeDictionary, result,
externalNodeIdToTypeMap, internalNodeIdToTypeMap, arc, true));
- artifact.getGraph().getExternalCalls().entrySet().stream().forEach(arc ->
+ artifact.getGraph().getExternalCalls().entrySet().parallelStream().forEach(arc ->
processArc(artifact, universalParents, universalChildren, typeDictionary, result,
externalNodeIdToTypeMap, internalNodeIdToTypeMap, arc, false));
