diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-10 07:42:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-10 07:42:59 +0000 |
commit | 863da4c4f59c8c2df5219a8dd1409860e25bf6a4 (patch) | |
tree | 5c5432ee61ec0de0ce155e2ee4c40c7b8fca55f3 /lib/Bytecode/Writer/SlotCalculator.cpp | |
parent | ae052aa5a768d80757df981971ad560f0d9e0216 (diff) |
Change the table datastructure to be a vector<smallvector>, instead of
vector<vector> to avoid allocations. This speeds up bcwriting of 447.dealII
from 0.8276 to 0.7637s (8.4%).
This concludes this round of proding the bcwriter into submission. Final
speedup from 24.4s to 0.7637s (32x).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.cpp')
0 files changed, 0 insertions, 0 deletions