summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/IncludeFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-26 06:22:30 +0000
committerChris Lattner <sabre@nondot.org>2006-07-26 06:22:30 +0000
commitf567a263c6bf82d374509d337caddf1a6ee5ee75 (patch)
tree7bc12cdffee6c93b0ea30bb537954f18a1d341d4 /llvm/lib/Support/IncludeFile.cpp
parent4700b1534eef59fd773c0c5b9e8f12153072c48c (diff)
downloadbcm5719-llvm-f567a263c6bf82d374509d337caddf1a6ee5ee75.tar.gz
bcm5719-llvm-f567a263c6bf82d374509d337caddf1a6ee5ee75.zip
Add a new llvm::SmallVector template, which is similar to the vector class, but
contains optimizations to avoid heap allocation if the vector size is smaller than some threshold. This can significantly improve the performance of code that allocates many small vectors by eliminating tons of small malloc/free's. llvm-svn: 29281
Diffstat (limited to 'llvm/lib/Support/IncludeFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud