summaryrefslogtreecommitdiff
path: root/lib/util/genrand.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-04-28 10:50:06 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-28 03:24:06 +0200
commitd17f4352fe2493be433a21e2f47453968aafdc4d (patch)
treec30bf8163f5f5bfc3d2da2a4d0f1c4f6d48a72aa /lib/util/genrand.c
parenteee1ff2fb56f46fb3c6aa7dfe51583e3b489fb5d (diff)
downloadsamba-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