2 ms·
At some point you have to consider whether your way of doing things is at all sensible. Signals are good for rare, unpredictable events. If you have a firehose
by dale_glass 4y ago
At some point you have to consider whether your way of doing things is at all sensible.
Signals are good for rare, unpredictable events. If you have a firehose worth of data coming in, you're not sitting around waiting very often. Your data probably also has some commonality to it, and can be handled in bulk. If you have 100K events coming in, they're probably events of the same type.
Just like if you're writing gigabytes to a file, a program written with the most minimum amount of intelligence isn't going to do it one character at a time.