diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-28 22:17:14 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-28 22:17:14 +0000 |
commit | 02d6b7e0937eca82d66dc220fa3b9981f49a0f3e (patch) | |
tree | 089344457e7c5c87a238e2276cda6ed4b57fb387 /clang/lib/Basic/FileSystemStatCache.cpp | |
parent | 7aad398e0ae03d2d017fd8b2d47325ad70b07ebf (diff) | |
download | llvm-02d6b7e0937eca82d66dc220fa3b9981f49a0f3e.zip llvm-02d6b7e0937eca82d66dc220fa3b9981f49a0f3e.tar.gz llvm-02d6b7e0937eca82d66dc220fa3b9981f49a0f3e.tar.bz2 |
Don't use std::copy and std::copy_backward, run 10% faster.
Sometimes std::copy can become a memmove call, and that is not a good idea when
copying relatively few bytes as we are doing. We also get a small win by
changing two loops into one.
llvm-svn: 120265
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions