Permanently sinking output ports

Wouldn't it be useful to be able to specify statically at authoring time when a port will no longer be used after a certain point in a pipeline ? I'm thinking of an attribute in the p:sink element that would say "when you reach this p:sink, these ports will no longer be read". 

It would help implementors to free the memory during at execution time, without needing some advanced static optimization.

Just a thought…

Romain.

Received on Friday, 16 November 2012 00:47:26 UTC