Use insert() with ranges instead of reserve
STL implementation of insert() is generally smart enough to reserve storage before hand. No need to do reserve() followed by for each loop Test: th Change-Id: I36e88c121868b97ea525b292a67b36983c530e56
Loading
Please register or sign in to comment