reducing array load pressure by making connections an explicit object

This commit is contained in:
Endre Sándor Varga 2016-07-22 15:39:37 +02:00
parent 3a1a0cc4c4
commit b8ceb863c9
8 changed files with 220 additions and 153 deletions

View file

@ -211,9 +211,9 @@ private[akka] case class ActorMaterializerImpl(
private def matGraph(graph: GraphModule, effectiveAttributes: Attributes, matVal: ju.Map[Module, Any]): Unit = {
val calculatedSettings = effectiveSettings(effectiveAttributes)
val (inHandlers, outHandlers, logics) = graph.assembly.materialize(effectiveAttributes, graph.matValIDs, matVal, registerSrc)
val (connections, logics) = graph.assembly.materialize(effectiveAttributes, graph.matValIDs, matVal, registerSrc)
val shell = new GraphInterpreterShell(graph.assembly, inHandlers, outHandlers, logics, graph.shape,
val shell = new GraphInterpreterShell(graph.assembly, connections, logics, graph.shape,
calculatedSettings, ActorMaterializerImpl.this)
val impl =