mirror of
https://github.com/nasa/trick.git
synced 2025-01-19 11:16:27 +00:00
Merge pull request #727 from shahzadlone/master
Vector Optimize to Save on Re-Allocation costs.
This commit is contained in:
commit
0ce0398823
@ -124,6 +124,8 @@ IterOverLogGroups::IterOverLogGroups( LogMultiGroup* lmg,
|
||||
LogGroup* key ;
|
||||
vector < int > val ;
|
||||
map < LogGroup*, set< int > >::const_iterator ll;
|
||||
listLogGroupIterators_.reserve(listLogGroupIterators_.size()
|
||||
+ lg2log.size());
|
||||
for (ll = lg2log.begin(); ll != lg2log.end(); ll++) {
|
||||
|
||||
key = (*ll).first ;
|
||||
|
@ -11,7 +11,7 @@
|
||||
MemMgr::MemMgr() {
|
||||
|
||||
debugLevel = 0;
|
||||
reducedCheckpoint = true;
|
||||
reducedCheckpoint = true;
|
||||
hexfloatCheckpoint = false;
|
||||
compactArraysCheckpoint = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user