r2578: Pick up optimisation from Samba4 - thanks tridge !
authorJeremy Allison <jra@samba.org>
Fri, 24 Sep 2004 01:32:19 +0000 (01:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:47 +0000 (10:52 -0500)
commitb2cd6300d7a575ea01758233ab42b3bf205d20e1
tree54f65131d019b42dedb59d4cd2717c36d03d9266
parent8875124a61c63d2def8ec193a98732f6fcfaa6a1
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)
source3/lib/util_str.c