Skip to content
Snippets Groups Projects
Commit 197088a3 authored by Matevz Tadel's avatar Matevz Tadel
Browse files

Optimizations based on Druid callgrind dump sent by Manqi.

* TGLBoundingBox:
  Use TGLVertex3[8] instead of std::vector<> for member that always
  has 8 elements. Caused pointless allocations and fragmentation.

* TGLScene:
  In CalcBoundingBox() avoid creating a bounding box temporary in a
  loop over all elements -- use const& instead.

* TGLCamera:
  Fix for changes in TGLBoundingBox.


git-svn-id: http://root.cern.ch/svn/root/trunk@37397 27541ba8-7e3a-0410-8455-c3a389f83636
parent ecb03882
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment