about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2013-07-11 18:44:40 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-07-11 18:46:05 +0200
commit7e972772890ec0d28d2aa4e7ff5c7b004e5463e8 (patch)
treee5bc81493720ad60a3086f74c9c4b5991ce00c29 /src/libstd
parente95fcfafc7a2349217096bc1ed8b8c273b6a0e2b (diff)
downloadrust-7e972772890ec0d28d2aa4e7ff5c7b004e5463e8.tar.gz
rust-7e972772890ec0d28d2aa4e7ff5c7b004e5463e8.zip
transmute: Avoid double copy for immediate values
Currently, immediate values are copied into an alloca only to have an
addressable storage so that it can be used with memcpy. Obviously we
can skip the memcpy in this case.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions