speedup Networker scheduling
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 22 Jan 2012 23:26:07 +0000 (00:26 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 22 Jan 2012 23:26:07 +0000 (00:26 +0100)
commitf8b7f4d7efd295167fc0ef79017f772049739c2b
treebfd38590585ba610e9d18d52f6f3fa8eb1769f49
parentc590738f3932fdbf92d2a1b0cba6b60402254ee1
speedup Networker scheduling

  - iterate the netconfigs dir first to find out which rooms we realy care about
  - store roomnames case insensitive
  - store length
  - calculate the key of roomnames, so that while sorting out dupes its cheaper
  - minimize the locking of the roomlist by just swapping out the pointers while we process one list.
citadel/citserver.h
citadel/modules/network/netspool.h
citadel/modules/network/serv_netspool.c
citadel/modules/network/serv_network.c
citadel/modules/network/serv_network.h