commit | 28116c9f498ec3b40dae90b3a94ba4ceb1a2081c | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri Nov 26 18:25:20 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri Nov 26 18:25:20 2010 +0000 |
tree | 768e371e8e4386e4d29d895c81d5a6ca980fd02e | |
parent | 847d2f93ca692fa627a97ba9743bc1e9b8c5cbae [diff] |
BitVector tweaks. - Double the vector's capacity when growing to avoid unneeccesary reallocation. - Do the reallocation with realloc(3) which can expand the memory in place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120183 91177308-0d34-0410-b5e6-96231b3b80d8