Date: Thu Sep 4 01:12:39 2003 Author: jra Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv27902/lib
Modified Files: Tag: SAMBA_3_0 charcnv.c util_str.c Log Message: Used cachegrind to track down some bottlenecks. Removed calls to clobber_region when not compiling with developer as they were hiding speed problems. Added fast path to convert_string() when dealing with ascii -> ascii, ucs2-le to ascii and ascii to ucs2-le with values <= 0x7F. This gives a speedup of 22% on my nbench tests. Next I will do this on convert_string_allocate. Jeremy. Revisions: charcnv.c 1.55.2.35 => 1.55.2.36 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c.diff?r1=1.55.2.35&r2=1.55.2.36 util_str.c 1.47.2.36 => 1.47.2.37 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c.diff?r1=1.47.2.36&r2=1.47.2.37