Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3132


Ignore:
Timestamp:
Jun 9, 2009, 8:59:57 PM (15 years ago)
Author:
rgrieder
Message:

Extreme performance boost by copying an std::list only once instead of twice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp4/src/network/TrafficControl.cc

    r3084 r3132  
    189189  void TrafficControl::updateClientListTemp(std::list<obj>& list)
    190190  {
    191     clientListTemp_[currentClientID][currentGamestateID] = std::list<obj>(list);
     191    clientListTemp_[currentClientID][currentGamestateID] = list;
    192192  }
    193193
Note: See TracChangeset for help on using the changeset viewer.