diff options
author | Martin Pool <mbp@samba.org> | 2003-03-18 07:31:49 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2003-03-18 07:31:49 +0000 |
commit | f7f692b2db4dd513068d6d8fed2792186933ddda (patch) | |
tree | e3d91d0287afac50739f3add87fcb5a61ddc8288 /docs/htmldocs/pdb-xml.html | |
parent | 2c17cb1bd27658ac7a72cb9eccb4b048e9d0ec5f (diff) | |
download | samba-f7f692b2db4dd513068d6d8fed2792186933ddda.tar.gz samba-f7f692b2db4dd513068d6d8fed2792186933ddda.tar.xz samba-f7f692b2db4dd513068d6d8fed2792186933ddda.zip |
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.
Diffstat (limited to 'docs/htmldocs/pdb-xml.html')
0 files changed, 0 insertions, 0 deletions