diff options
author | Hans Bolinder <[email protected]> | 2017-10-30 11:55:42 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-11-28 13:03:46 +0100 |
commit | 3d28da78f3e8bab7a13f4f928cdd7747ab943197 (patch) | |
tree | 484c20082481420ecb97f7c204173d2a09ae1fe9 /lib/stdlib/test/supervisor_SUITE_data | |
parent | 779ea5fecf0e0ba525410a3dcb4ea84d12b5c77f (diff) | |
download | otp-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/supervisor_SUITE_data')
0 files changed, 0 insertions, 0 deletions