diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-26 06:22:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-26 06:22:30 +0000 |
commit | f567a263c6bf82d374509d337caddf1a6ee5ee75 (patch) | |
tree | 7bc12cdffee6c93b0ea30bb537954f18a1d341d4 /llvm/lib/Support/IncludeFile.cpp | |
parent | 4700b1534eef59fd773c0c5b9e8f12153072c48c (diff) | |
download | bcm5719-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