summaryrefslogtreecommitdiff
path: root/source3/intl
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-23 16:29:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:10 -0500
commit4e9bc2ec5c897ca790edd989af0b6072aeef3e2f (patch)
treec0192e8c3f3a8dab0ed46e628d0f6fef213ebf25 /source3/intl
parentcef9443a8761c51be03657b0cdffa16cc29d62b2 (diff)
downloadsamba-4e9bc2ec5c897ca790edd989af0b6072aeef3e2f.tar.gz
samba-4e9bc2ec5c897ca790edd989af0b6072aeef3e2f.tar.bz2
samba-4e9bc2ec5c897ca790edd989af0b6072aeef3e2f.zip
r11266: 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@sernet.de>, Volker (This used to be commit d07343e0c4022d753f381d368fc0f03972a070f3)
Diffstat (limited to 'source3/intl')
0 files changed, 0 insertions, 0 deletions