Files
swift-nio/Sources/NIO
Norman Maurer 2a684fc1dc Don't re-arm timerfd each epoll_wait (#264)
Motivation:

When calling Selector.whenReady(...) and using a SelectorStrategy.blockUntil(...) we may end up re-arm the timerfd each time even if the wakeup time did not change.
This is expensive and can be avoided in most situations.

Modifications:

Keep track of the earliest scheduled timer and only schedule a new one if it would fire sooner.

Result:

Less overhead when using epoll and timers.
2018-04-03 09:53:19 +01:00
..
2018-03-15 22:11:46 +09:00
2018-02-08 13:12:30 +00:00
2018-03-19 14:43:38 +01:00
2018-03-19 14:43:38 +01:00