BGE performance:
authorBenoit Bolsee <benoit.bolsee@online.be>
Fri, 1 May 2009 20:34:23 +0000 (20:34 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Fri, 1 May 2009 20:34:23 +0000 (20:34 +0000)
commit07abb9dee2aba5ed161c22f3ec45031f9fdb183a
tree83740cfff96b12a6240d1e5ceee5f1594e43c984
parente13a089d918cbe3709f544ccebbb718a452ac6fa
BGE performance:

- Vast performance increase when removing scene containing large number of
  objects: the sensor/controller map was updated for each deleted object,
  causing massive slow down when the number of objects was large (O(n^2)).
- Use reference when scanning the sensor map => avoid useless copy.
- Remove dynamically the object bounding box from the DBVT when the object
  is invisible => faster culling.
source/gameengine/GameLogic/SCA_LogicManager.cpp
source/gameengine/GameLogic/SCA_LogicManager.h
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_KetsjiEngine.h
source/gameengine/Ketsji/KX_Scene.cpp