MCPcopy Create free account
hub / github.com/brimdata/super / parallelPaths

Function parallelPaths

compiler/optimizer/parallelize.go:245–253  ·  view source on GitHub ↗
(op dag.Op)

Source from the content-addressed store, hash-verified

243}
244
245func parallelPaths(op dag.Op) ([]dag.Seq, bool) {
246 if s, ok := op.(*dag.ScatterOp); ok {
247 return s.Paths, true
248 }
249 if f, ok := op.(*dag.ForkOp); ok {
250 return f.Paths, true
251 }
252 return nil, false
253}
254
255// concurrentPath returns the largest path within seq from front to end that can
256// be parallelized and run concurrently while preserving its semantics where

Callers 1

liftIntoParPathsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected