Changeset

7630:abe2697b5e92

net.server_epoll: Remove commented out code
author Kim Alvefur <zash@zash.se>
date Tue, 23 Aug 2016 20:31:14 +0200
parents 7629:0fcde9869cc1
children 7631:f50c039d6bb1
files net/server_epoll.lua
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
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];