I've replaced the linked list used to manage the subnet namelists with a
authorChristopher R. Hertel <crh@samba.org>
Wed, 10 Jun 1998 19:51:58 +0000 (19:51 +0000)
committerChristopher R. Hertel <crh@samba.org>
Wed, 10 Jun 1998 19:51:58 +0000 (19:51 +0000)
commitd4366df039dfd730fe24c95b9ef7d59306f35309
treed872bd4ba5aa2aabecadf8d71382ba758aa00928
parent72bf410b6e9b85f8fbff7f6175661829bef35f62
I've replaced the linked list used to manage the subnet namelists with a
splay tree.  For short lists, this will have no noticable effect.  As
lists (eg. the WINS database) grow longer, the speed improvements should
be quite dramatic.  This change is an incremental step toward replacing
the in-memory namelists with a back-end database.

This change is going into the 1.9.19pre-alpha code because...well...it's
pre-alpha.  Please let me know if there are any problems.

(Oh, as a side-effect, the wins.dat will be in sorted order.  :)

Chris -)-----
(This used to be commit 7806c453df02a89f67e7c5c8b91f24aa2274e756)
source3/include/nameserv.h
source3/nmbd/nmbd_incomingrequests.c
source3/nmbd/nmbd_mynames.c
source3/nmbd/nmbd_namelistdb.c
source3/nmbd/nmbd_subnetdb.c
source3/nmbd/nmbd_winsserver.c