On 06/11/2011 11:23 AM, Pieter Hintjens wrote:
> For the CZMQ zloop reactor, at least, we're only rebuilding the pollset
> when there's a change. So that'd work nicely with epoll et al.

Ok. I should have not mentioned the second caveat. The real point is 
that epoll is meant to reduce complexity of polling from O(n) -- where n 
is the size of pollset -- to O(1). If we use epoll to implement 
zmq_poll(), we get complexity of O(n log n) which is actually worse than 
O(n) that you get using poll or select.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to