about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-09-11 10:33:02 +0000
committerbors <bors@rust-lang.org>2015-09-11 10:33:02 +0000
commit1a1e6b85f6f0976aad5bf3bd6aec7403163c62cc (patch)
tree9247c0728d475d9120e77ca64619053d22df8c20 /src/libsyntax/errors
parent883b5cf9a92ba5a1fa76e40955c16ccc22d79c5d (diff)
parentfbd91a732b73dd73b4da8940bc32c4a7d5e6251b (diff)
downloadrust-1a1e6b85f6f0976aad5bf3bd6aec7403163c62cc.tar.gz
rust-1a1e6b85f6f0976aad5bf3bd6aec7403163c62cc.zip
Auto merge of #28338 - erickt:str-cmp, r=bluss
llvm seems to be having some trouble optimizing the iterator-based string comparsion method into some equivalent to memcmp. This explicitly calls out to the memcmp intrinisic in order to allow llvm to generate better code. In some manual benchmarking, this memcmp-based approach is 20 times faster than the iterator approach.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions