STINNER Victor added the comment:
> Overallocating by 50% might be overkill here; I wouldn't imagine most users
> of epoll.poll would use anything but: (...)
See my second message:
"My patch also overallocates the buffer by 50% to avoid calling realloc() to
many times. Using the selectors modu
Josh Rosenberg added the comment:
Overallocating by 50% might be overkill here; I wouldn't imagine most users of
epoll.poll would use anything but:
1. Limit to 1 event
2. Limit to some constant K events
3. Use default maxevents (FD_SETSIZE - 1)
Even if called in pathological order, that would