From a551203100f50ff4767d516566f38277bd268110 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 May 2005 21:54:45 +0000 Subject: Changed to use __single_client_alloc, supposedly faster in single-thread situations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1402 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/dnsqueue.cpp') diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index 1a5113618..90365b5dc 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -65,18 +65,18 @@ using namespace std; extern int MaxWhoResults; -extern std::vector modules; -extern std::vector module_names; -extern std::vector factory; -extern std::vector fd_reap; +extern std::vector modules; +extern std::vector module_names; +extern std::vector factory; +extern std::vector fd_reap; extern int MODCOUNT; -typedef nspace::hash_map, irc::StrHashComp> user_hash; -typedef nspace::hash_map, irc::StrHashComp> chan_hash; -typedef nspace::hash_map, irc::InAddr_HashComp> address_cache; -typedef nspace::hash_map, irc::StrHashComp> whowas_hash; -typedef std::deque command_table; +typedef nspace::hash_map, irc::StrHashComp, __single_client_alloc> user_hash; +typedef nspace::hash_map, irc::StrHashComp, __single_client_alloc> chan_hash; +typedef nspace::hash_map, irc::InAddr_HashComp, __single_client_alloc> address_cache; +typedef nspace::hash_map, irc::StrHashComp, __single_client_alloc> whowas_hash; +typedef std::deque command_table; extern user_hash clientlist; extern chan_hash chanlist; -- cgit v1.3.1-10-gc9f91