aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/beam_lib.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-11-07 17:22:16 +0100
committerHans Bolinder <[email protected]>2017-11-28 13:03:46 +0100
commitfc80770ba7645d71a159c807c6aba7956a2eb394 (patch)
treeac75c7cf36e041cd0a16274e01de1ee8317f2b44 /lib/stdlib/src/beam_lib.erl
parent3d28da78f3e8bab7a13f4f928cdd7747ab943197 (diff)
downloadotp-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