summaryrefslogtreecommitdiff
path: root/source3/lib/xfile.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-09-24 01:32:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:47 -0500
commitb2cd6300d7a575ea01758233ab42b3bf205d20e1 (patch)
tree54f65131d019b42dedb59d4cd2717c36d03d9266 /source3/lib/xfile.c
parent8875124a61c63d2def8ec193a98732f6fcfaa6a1 (diff)
downloadsamba-b2cd6300d7a575ea01758233ab42b3bf205d20e1.tar.gz
samba-b2cd6300d7a575ea01758233ab42b3bf205d20e1.tar.bz2
samba-b2cd6300d7a575ea01758233ab42b3bf205d20e1.zip
r2578: Pick up optimisation from Samba4 - thanks tridge !
- I recently found out that charaters below 0x3F are guaranteed not to occur as secondary bytes in any multi-byte character set. This allows for a very simple optimisation in strchr_m() and strrchr_m(). It might be a good idea to pick this up for Samba3. Jeremy. (This used to be commit 0465e2d23d27e535bad4652037b37041049bfa96)
Diffstat (limited to 'source3/lib/xfile.c')
0 files changed, 0 insertions, 0 deletions