aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_scan.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-03-15 11:59:45 +0100
committerBjörn-Egil Dahlberg <[email protected]>2013-04-30 17:05:33 +0200
commit26849296883df7517af7d474210c343c943b48e2 (patch)
tree122f0e2041fce186e9fda9e1331390a6e49be5ad /lib/stdlib/src/erl_scan.erl
parentcda401b58a3db7213eb14197680d401fd1399de9 (diff)
downloadotp-26849296883df7517af7d474210c343c943b48e2.tar.gz
otp-26849296883df7517af7d474210c343c943b48e2.tar.bz2
otp-26849296883df7517af7d474210c343c943b48e2.zip
erts: Use fast path for list_to_binary([Bin]) case
A common case is to wrap an argument to list_to_binary in a list to ensure conversion can happen even though the argument may already be a binary. Use fast path for this case.
Diffstat (limited to 'lib/stdlib/src/erl_scan.erl')
0 files changed, 0 insertions, 0 deletions