Date: 2005-10-23 16:29:02 +0000 (Sun, 23 Oct 2005)
New Revision: 11266
Speed up loading smb.conf for large numbers of share definitions. The problem
was a O(n^2) loop: Whenever a service definition was found, we linearly
searched the already loaded share definitions, the patch adds an internal tdb
for this. For a smb.conf with 2000 shares this speeds up loading by about a
factor of 50.
Might be a fix for bug #1117.
Thanks to Michael Adam <ma@xxxxxxxxx>,
Sorry, the patch is too large (465 lines) to include; please use WebSVN to see