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 | 743d429d9b425aa84d89bd65c08beb06374026c8 (patch) | |
tree | b61f53d922f5283abea4ce12bbb6dcc456702cb3 /docs/htmldocs/vfs.html | |
parent | 6b2fb1e2fe23816cb21fda9424e6eb1d2537794d (diff) | |
download | samba-743d429d9b425aa84d89bd65c08beb06374026c8.tar.gz samba-743d429d9b425aa84d89bd65c08beb06374026c8.tar.bz2 samba-743d429d9b425aa84d89bd65c08beb06374026c8.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.
(This used to be commit f7f692b2db4dd513068d6d8fed2792186933ddda)
Diffstat (limited to 'docs/htmldocs/vfs.html')
0 files changed, 0 insertions, 0 deletions