summaryrefslogtreecommitdiff
path: root/src/socketengine_select.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-30 15:11:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-30 15:11:40 +0000
commit6fff3c54be91dbbfe5e3ffca4204ad0378d70b7d (patch)
tree7c10778fc957a26c2e9b00882459e163aa548f40 /src/socketengine_select.cpp
parentfce2d243c023660a9afbf01143cde6eda2ec7a88 (diff)
Tons of optimization of WriteChannel, WriteChannelWithServ, WriteCommon etc, dont call userrec::GetFullHost or snprintf for every item, call it just once.
Turns O(n) calls for every write into O(~1) calls per write. Remove some debug from the socketengines which makes debugging hard on large channels (write availability message) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6171 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_select.cpp')
-rw-r--r--src/socketengine_select.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socketengine_select.cpp b/src/socketengine_select.cpp
index f1960f09d..5be97eff6 100644
--- a/src/socketengine_select.cpp
+++ b/src/socketengine_select.cpp
@@ -146,7 +146,6 @@ int SelectEngine::DispatchEvents()
}
if (ev[i])
{
- ServerInstance->Log(DEBUG,"Handle %s event on fd %d",writeable[ev[i]->GetFd()] || !ev[i]->Readable() ? "write" : "read", ev[i]->GetFd());
if (writeable[ev[i]->GetFd()])
{
if (ev[i])