PSp..om ff5d121038 Allow the Statistics collection to be enabled and
disabled.  It turns out that this generates a measurable
amount of garbage per frame... partially due to a change
I made elsewhere.  It used to be that the frame values
were never cleared unless the stats were displayed...
thus the HashSets were always populated with the old
frames' values.  When I added a default app state to
clear them every frame the hashsets regrow every time
and generate ~1 meg of garbage every 15 seconds.  Not
a lot but unnecessary.
I think this way is more explicit and we no longer
rely on a side-effect.
A related change will be checked in for the StatsView
to properly enable/disable collection.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-17 06:26:31 +00:00
..
2012-10-29 22:15:26 +00:00
2011-12-03 14:06:48 +00:00
2013-01-01 11:04:33 +00:00
2011-03-14 12:55:32 +00:00
2011-03-14 12:55:32 +00:00
2011-03-14 12:55:32 +00:00
2011-03-14 12:55:32 +00:00
2011-03-14 12:55:32 +00:00