CVS update: samba/source/lib

mbp at samba.org mbp at samba.org
Tue Mar 18 18:31:50 EST 2003


Date:	Tue Mar 18 07:31:49 2003
Author:	mbp

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv15255

Modified Files:
	util_str.c 
Log Message:
Step one of optimizations for StrCaseCmp:

First of all, do a char-by-char walk through both buffers until we get
to a non-ascii character, or a difference between the strings.  This
prefix can be directly compared without needing to call into iconv.
This should be much faster for strings that are either all ascii, or
differ near the start.


Revisions:
util_str.c		1.89 => 1.90
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c?r1=1.89&r2=1.90


More information about the samba-cvs mailing list