File Details
v0.4.22
- R
- Mar 20, 2013
- 152.06 KB
- 175
- 2.0
File Name
MereHealingFrames-v0.4.22.zip
Supported Versions
- 2.0
tag v0.4.22
c90297c14193932261b51b01ce6dd489397d3923
Mere <rift@dokein.co.uk>
2013-03-20 13:13:18 +0000
Some optimizations, and a couple of bug fixes.
--------------------
Mere:
- Change some debug messages to not concatenate the debug message, but leave that work to the debug function. This will be a gain when tracing isn't being displayed.
Fix HealingPanelLayout to correctly use isSecure for that layout, otherwise it was being set/unset on all layouts.
- Bump version number for release.
- Another minor optimization, move events.lua to load later. This allows a local var to hold MereHealingFrames.RaidManagement.Units and so save looking it up every time we use it (which is pretty much every event)
Also split off a separate routine to handle the one case where the frames are relayed (and I suspect that's probably not needed now with the changes to Event.Availability
- Fix optimisation bugs.
While the code looks similar, UnitId vs unitId, and PlayerJoin needs to use the Player Id not the passed in unitid.
Appears to fix issues I had initially in IAs.
Don't hook PlanarMax any more, I believe that Available.Full should cover what it was doing before.
- Optimize handling of health, mana and energy/power updates.
Most of this is tidying up the handling, and removing boolean choices, instead rely on the called function doing something or nothing as needed, rather than testing if text is visible.
Also adds functions to update the value or max separately, so we don't have to check every time we call the function if either is nil.
- Optimize some code paths (to be more optimal I'd need to make a local pointing at the units in raidmanagement)
However, this does remove the look up of Units from every loop.
Also PlanarMax changing doesn't need to relay the frames, no idea why I thought it did, but it fired a performance bug report at me this morning.
- Don't trigger a panel relay on planarMax change, as nothing actually cares about planarMax.

