grantus/MinUI — Issue #47: Fix Buff/Debuff Add/Remove/Change
Author: grantus
Created: 2011-10-17 01:08:54+00:00
State: open
Labels: Critical Bug, TODO

When there is a large amount of buffs/debuffs being added/removed the MinUI CPU usage spikes to like 45-50% because of the amount of times that the resetBuffs gets called and because of the constant sorting of the buff order/layout.

This needs to be fixed. Will use the event.add / remove events more efficiently and will not relayout the buff icons/bars every time there is a new buff.

Instead, I will create all of the frames that house a bar / icon when the buff/debuff bar is created, and then fill them up / empty them - this way it will already be laid out and the contents of the frame wil just change / be set visibile/invisible.

Hopefully, this overcomes the issue.