3 ms·
This is assuming that performance is an issue, which I would guess is not the case for at least 90% of uses. For most cases I'd say ease of use and cross platfo
by almost 16y ago
This is assuming that performance is an issue, which I would guess is not the case for at least 90% of uses. For most cases I'd say ease of use and cross platform makes select "better" than epoll.
- endgame 16y agoThis is why I like libev, which has bindings to several languages (including python). It picks the best backend for watching FDs on a given system (epoll, select, ...). The support for timers, idle callbacks and so on is also very handy.