The member variables in_channels and out_channels in Process class don't need any ordered iteration. They can very well be turned into sets. The addition and deletion will be efficient then.
Expected Behavior
in_channels and out_channels are of type set.
Current Behavior
They are lists.
Possible Solution
Refactor the code
Your Environment
- Version of the package used: master
- Python version (Interpreter too if relevant): Python 3.5.3
- Operating System and version: Ubuntu 14.04
The member variables
in_channelsandout_channelsinProcessclass don't need any ordered iteration. They can very well be turned into sets. The addition and deletion will be efficient then.Expected Behavior
in_channelsandout_channelsare of typeset.Current Behavior
They are lists.
Possible Solution
Refactor the code
Your Environment