grantus/MinUI — Issue #42: Optimisation Code
Author: grantus
Created: 2011-10-16 10:59:37+00:00
State: open
Labels: Feature Request, TODO

As each frame is registering for it's own Event.Health/Mana/etc events I believe that every time a new unit is added it has 1 to n complexity for each frame for each event.

So if we have the 5 frames (player/pet/tot/target/focus) each requesting health events, for every player in a raid (20) thats 100 events checked for one health update, for each frame, and that's only health! Multiply that by energy, buffs, debuffs, casting, etc, and we end up with an epic amout of checks during battle.

As such the event handling code is once again going to be moved up into the MinUI main file, buut this time being much smarter about deligating the events out to the correct frame.