diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-03-15 11:59:45 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2013-04-30 17:05:33 +0200 |
commit | 26849296883df7517af7d474210c343c943b48e2 (patch) | |
tree | 122f0e2041fce186e9fda9e1331390a6e49be5ad /lib/stdlib/src/gen_server.erl | |
parent | cda401b58a3db7213eb14197680d401fd1399de9 (diff) | |
download | otp-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/gen_server.erl')
0 files changed, 0 insertions, 0 deletions