idra at samba.org
Sun Feb 18 02:24:38 GMT 2007
Btw, attached the same patch adapted to current samba4 tdb.
A function prototype differs (char * -> unsigned char *) in samba4
On Sat, 2007-02-17 at 21:11 -0500, simo wrote:
> On Sun, 2007-02-18 at 01:15 +0100, Volker Lendecke wrote:
> > On Sat, Feb 17, 2007 at 11:34:42PM +0100, Volker Lendecke wrote:
> > > Attached find a patch that adds tdb_parse_record():
> > ... and attached a sample use in ldb_tdb.c.
> > Volker
> My speed test using LOCAL-DBSPEED show a very tiny improvement in the
> ldb performances this way.
> LOCAL-DBSPEED is not optimized to test this patch I think, so I expect
> bigger gains on higher workloads.
> Would you like to build a test to be used in LOCAL-DBSPEED to see how
> much your patch impact if we store/retrieve bigger objects ?
> Why do you need to copy memory if a transaction is open ?
Samba Team GPL Compliance Officer
email: idra at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5165 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070217/48825cfb/tdb_parse_data_samba4.bin
More information about the samba-technical