Skip to main content
Archived

Parameter flow control

Related products:Transformers
  • January 8, 2018
  • 5 replies
  • 57 views

jdh
Contributor
Forum|alt.badge.img+40

While we have flow control to route features along specific connections using the tester, it is inefficient to retest the value of parameter for each feature, especially when dealing with a large number of features.

It would be nice if there was some sort of FlowController which could route all incoming feature out of a specific port based on parameter value(s), which is only tested for once, and not a few million times redundantly.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • January 8, 2018

Like an AttributeFilter but instead a "ParameterFilter"? Evaluated once, everything gets routed based on the value of the Parameter?


jdh
Contributor
Forum|alt.badge.img+40
  • Author
  • Contributor
  • January 9, 2018
Exactly.

 

 


jdh
Contributor
Forum|alt.badge.img+40
  • Author
  • Contributor
  • January 9, 2018
Ok, thinking about it a bit more, that's how I would use it, as the majority of the time I would use this, it's based on a Choice parameter.

 

 

But to make it even more powerful, it should behave like a TestFilter, specify the ports, and have one or more tests, evaluated in order, but only once.

 


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • January 10, 2018
Hmm, if the Tester/TestFilter could realize that there is nothing variant in the tests being applied, then perhaps it would just do what is wanted. So in that case this idea becomes "optimize test evaluation for invariant expressions" (or something a bit less obtuse than that)

 

 


jdh
Contributor
Forum|alt.badge.img+40
  • Author
  • Contributor
  • January 10, 2018
That would do it, and mean one less transformer. Which means taking advantage of the improvement without having to go back and modify existing workspaces.

 

 

I'm sure you already know how I feel about optimization. :)