author | Kim Alvefur <zash@zash.se> |
Tue, 23 Aug 2016 20:31:14 +0200 | |
changeset 7633 | abe2697b5e92 |
parent 7632 | 0fcde9869cc1 |
child 7634 | f50c039d6bb1 |
--- a/net/server_epoll.lua Tue Aug 23 20:01:02 2016 +0200 +++ b/net/server_epoll.lua Tue Aug 23 20:31:14 2016 +0200 @@ -76,16 +76,6 @@ resort_timers = false; end - --[[ Is it worth it to skip the noop calls? - for i = #timers, 1, -1 do - if timers[i][2] == noop then - timers[i] = nil; - else - break; - end - end - --]] - -- Iterate from the end and remove completed timers for i = #timers, 1, -1 do local timer = timers[i];