aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-11-28 22:17:14 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-11-28 22:17:14 +0000
commit02d6b7e0937eca82d66dc220fa3b9981f49a0f3e (patch)
tree089344457e7c5c87a238e2276cda6ed4b57fb387 /clang/lib/Basic/FileSystemStatCache.cpp
parent7aad398e0ae03d2d017fd8b2d47325ad70b07ebf (diff)
downloadllvm-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