Dataflow: Get rid of early filter.

This constructs a few more tuples in Stage3::fwdFlow0, which are then
filtered in Stage3::fwdFlow. This is cleaner and appears faster.
This commit is contained in:
Anders Schack-Mulligen
2020-11-10 14:43:42 +01:00
parent 3e18e02d2c
commit 5a1c0e9ec4

View File

@@ -1402,8 +1402,7 @@ private module Stage3 {
// read
exists(Ap ap0, Content c |
fwdFlowRead(ap0, c, _, node, cc, argAp, config) and
fwdFlowConsCand(ap0, c, ap, config) and
flowCand(node, unbindBool(ap.toBoolNonEmpty()), unbind(config))
fwdFlowConsCand(ap0, c, ap, config)
)
or
// flow into a callable