Loading request...
Optimize the inflow and outflow architecture of the solon-flow gateway (containing structures) so that it no longer needs to record stacks and counters. Convert gateway nodes to internal nodes.
目前的处理方式,是在执行时: 按自然的线路去运行。当线路经过流入侧(拦栅)时,需要按流出时计数进行拦阻并只让最后一次通过。 优化方向: 1. 添加 ChainBuilder 或 ChainDecl,用于申明 Chain 2. Chain 的构建分为:申明(List 结构) 和 构建(部分 Tree 结构)2部分(或2阶段)。且构建后不允许再调整 3. 构建时对 Chain 做预转换处理,把网关的“后续”节点,转换为“内部”结点。 示意: ``` //旧(所有元素并列,用线连接) 包容网关->a->b-包容网关 //新(部分网关,转为包裹关系。更利于运行) 包容网关(a->b) ``` //有了“包裹”关系后,就不需要栈记录和记数器了。