[vtk-developers] vtkGarbageCollector performance
Sean McBride
sean at rogue-research.com
Tue Feb 1 19:14:54 EST 2011
Hi all,
We've been profiling our app and finding that lots of time is spent in
VTK's garbage collector.
Part of the problem is that we are creating too many temporary objects,
but I still wanted to investigate a little to see if there are any
obvious improvements to be had in vtkGarbageCollector itself.
One thing I noticed is that some code is conditionalised with #ifdef
VTK_LEAN_AND_MEAN. Yet I can't seem to find where VTK_LEAN_AND_MEAN is
set on or off (except in vtkWinCE.h, which shouldn't apply to me).
What's it for? Where should I be turning it on?
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list