diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-04-28 10:50:06 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-28 03:24:06 +0200 |
commit | d17f4352fe2493be433a21e2f47453968aafdc4d (patch) | |
tree | c30bf8163f5f5bfc3d2da2a4d0f1c4f6d48a72aa /lib/util/genrand.c | |
parent | eee1ff2fb56f46fb3c6aa7dfe51583e3b489fb5d (diff) | |
download | samba-d17f4352fe2493be433a21e2f47453968aafdc4d.tar.gz samba-d17f4352fe2493be433a21e2f47453968aafdc4d.tar.bz2 samba-d17f4352fe2493be433a21e2f47453968aafdc4d.zip |
lib/util/charset Make fast path from UTF16 to '8 bit' charsets clearer
This breaks the fast path into handling for -1 and handling for
specified lenghts, avoding branch operations on each character.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'lib/util/genrand.c')
0 files changed, 0 insertions, 0 deletions