Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9674 in orxonox.OLD for trunk/src/lib/lang/new_object_list.h


Ignore:
Timestamp:
Aug 21, 2006, 6:57:29 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: here is the speedup test… more or less:
20 iterations of generating and deleting 10000 objects

old version:
real 0m7.485s
user 0m7.344s
sys 0m0.012s

new version:
real 0m0.627s
user 0m0.568s
sys 0m0.032s

for that it is way more dynamic, the speedup was worth it :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/new_object_list.h

    r9673 r9674  
    177177  for (it = this->_objects.begin(); it != this->_objects.end(); ++it)
    178178  {
    179     std::cout << (*it)->name() << std::endl;
     179    std::cout << (*it)->getName() << std::endl;
    180180  }
    181181}
Note: See TracChangeset for help on using the changeset viewer.