* avoid memory allocation (remove std:set<>&) * skip nested loop using port-names as IDs However this adds a bit of extra cost in case input ports are monitored: get_port_by_name() and get_buffer()