I mainly use groups as an organizational tool (a group could contain some initialization code as well as other runtime code) to help me visualize different areas of my project, but since attempting to optimize my project I noticed some odd things:
When I disable one of 2 groups I get around a 5fps performance increase even though that group only contains one off triggered event (on clicked etc)
When I disable another group (and re-enable previous group) I see the same effect. AGain, the group only has individual triggers (no on tick events)
When I disable both groups together I get a massive 20+ fps performance boost. Now, I'm no mathematician but 5+5 does not equal 20 so my questions are:
- Why is this happening?
- Am I wrong to use groups as an organizational tool. Are they purely meant for optimization?
- Why would I get ANY performance increase at all when disabling a group that only contains one shot events?
Thanks