diff options
author | Jesse Stimpson <[email protected]> | 2017-02-24 13:03:20 -0500 |
---|---|---|
committer | Jesse Stimpson <[email protected]> | 2017-02-27 09:19:16 -0500 |
commit | ec7353ae51cc02c7b381a5142322a2b560bd0fab (patch) | |
tree | b86a6a63fb97744e08ab017d47eff32cbc142aef /lib/public_key/src | |
parent | 32a74e6c83cd110b8e8ab714be4365c0da558fca (diff) | |
download | otp-ec7353ae51cc02c7b381a5142322a2b560bd0fab.tar.gz otp-ec7353ae51cc02c7b381a5142322a2b560bd0fab.tar.bz2 otp-ec7353ae51cc02c7b381a5142322a2b560bd0fab.zip |
stdlib: Fix mime_decode/1 binary matching performance
Symptom: Throughput of base64:mime_decode/1 significantly lower than
base64:decode/1.
Problem: tail_contains_more/2 prevents compiler from delaying creation
of sub binaries.
Solution: Restructure mime_decode_binary/2 to use binary matching best
practices from the Efficiency Guide.
See ERL-366
Diffstat (limited to 'lib/public_key/src')
0 files changed, 0 insertions, 0 deletions