aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/erl_anno_SUITE.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-10-30 11:55:42 +0100
committerHans Bolinder <[email protected]>2017-11-28 13:03:46 +0100
commit3d28da78f3e8bab7a13f4f928cdd7747ab943197 (patch)
tree484c20082481420ecb97f7c204173d2a09ae1fe9 /lib/stdlib/test/erl_anno_SUITE.erl
parent779ea5fecf0e0ba525410a3dcb4ea84d12b5c77f (diff)
downloadotp-3d28da78f3e8bab7a13f4f928cdd7747ab943197.tar.gz
otp-3d28da78f3e8bab7a13f4f928cdd7747ab943197.tar.bz2
otp-3d28da78f3e8bab7a13f4f928cdd7747ab943197.zip
stdlib: Optimize base64 functions
A few test cases with zeroes are added. They were not handled correctly before. The access of DECODE_MAP is moved into the inlined function b64d, for symmetry. The function b64e is also inlined. The speed-up is small, but measurable. Note: encode(List), decode(List) and mime_decode(List) no longer call list_to_binary. This can break code that calls the functions with I/O-lists as input.
Diffstat (limited to 'lib/stdlib/test/erl_anno_SUITE.erl')
0 files changed, 0 insertions, 0 deletions