diff options
author | Hans Bolinder <[email protected]> | 2017-11-07 17:22:16 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-11-28 13:03:46 +0100 |
commit | fc80770ba7645d71a159c807c6aba7956a2eb394 (patch) | |
tree | ac75c7cf36e041cd0a16274e01de1ee8317f2b44 /lib/stdlib/src/beam_lib.erl | |
parent | 3d28da78f3e8bab7a13f4f928cdd7747ab943197 (diff) | |
download | otp-fc80770ba7645d71a159c807c6aba7956a2eb394.tar.gz otp-fc80770ba7645d71a159c807c6aba7956a2eb394.tar.bz2 otp-fc80770ba7645d71a159c807c6aba7956a2eb394.zip |
stdlib: Use binary_to_list in base64 when it is faster
It is sometimes faster to use binary_to_list on input, at least when
not considering time for garbage collections. The three functions all
return a list, and the temporary list created by binary_to_list should
be reclaimed very fast. The implementation from before is thus kept.
Diffstat (limited to 'lib/stdlib/src/beam_lib.erl')
0 files changed, 0 insertions, 0 deletions