Diff

net/server_epoll.lua @ 7630:abe2697b5e92

net.server_epoll: Remove commented out code
author Kim Alvefur <zash@zash.se>
date Tue, 23 Aug 2016 20:31:14 +0200
parent 7629:0fcde9869cc1
child 7637:cccea9136b2d
line wrap: on
line diff
--- 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];