From bdb3b9b9593260b5224a4de09fdb46d8748eb2ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Wed, 24 Sep 2014 00:19:00 +0200
Subject: Identified a hot-spot
---
utils.c | 1 +
1 file changed, 1 insertion(+)
(limited to 'utils.c')
diff --git a/utils.c b/utils.c
index 380f978..800c31a 100644
--- a/utils.c
+++ b/utils.c
@@ -1161,6 +1161,7 @@ poller_set (struct poller *self, struct poller_fd *fd)
modifying ? EPOLL_CTL_MOD : EPOLL_CTL_ADD, fd->fd, &event) != -1);
}
+// FIXME: this is by far the slowest function in the whole program
static void
poller_remove_from_dispatch (struct poller *self, const struct poller_fd *fd)
{
--
cgit v1.2.3