summaryrefslogtreecommitdiff
path: root/source4/lib/data_blob.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-03 04:24:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:43 -0500
commitcd16ca987675d70526010072dfe8552a1cbf87d9 (patch)
tree34fcd44e1d030383bacafe9b57a3150a9095c314 /source4/lib/data_blob.c
parentd8bb3d81a6396c4051be00de0808c60839b6945e (diff)
downloadsamba-cd16ca987675d70526010072dfe8552a1cbf87d9.tar.gz
samba-cd16ca987675d70526010072dfe8552a1cbf87d9.tar.bz2
samba-cd16ca987675d70526010072dfe8552a1cbf87d9.zip
r452: move from first-fit to best-fit in tdb record allocation. For a
situation where we are continually increasing the size of a record (such as ldb index records) this reduces the resulting tdb size by a factor of over 100x, due to reductions in fragmentation. It appears to have no noticable effect on the speed in other cases. (This used to be commit b61d7f8bbc0c01d648ce204ffb6ea657e0b04c03)
Diffstat (limited to 'source4/lib/data_blob.c')
0 files changed, 0 insertions, 0 deletions