4 ms·
Would it be reasonable to create a separate channel for each message type, and switch over all of them in the receiver?
by unoti 12y ago
Would it be reasonable to create a separate channel for each message type, and switch over all of them in the receiver?
- Manishearth 12y agothat sounds heavy to me. Generally using multiple channels and select is good when you have multiple threads sending. When there is a single sender, putting everything in one channel feels better to me.