perf: optimize performance by caching aura tooltips and range checks while reducing redundant layout updates

This commit is contained in:
Bluewhale1337
2026-10-02 08:48:26 +02:00
parent 59e3701d79
commit 820f23c3f2
6 changed files with 61 additions and 22 deletions
-7
View File
@@ -173,13 +173,6 @@ function HealBot_OnUpdate(this, arg1)
HealBot_Action_RefreshPower(unitID)
end
local powerID, _ = next(HealBot_View_DirtyPower)
while powerID do
HealBot_Action_RefreshPower(powerID)
HealBot_View_DirtyPower[powerID] = nil
powerID, _ = next(HealBot_View_DirtyPower)
end
if HealBot_EquipChangeTimer > 0 then
HealBot_EquipChangeTimer = HealBot_EquipChangeTimer - arg1
if HealBot_EquipChangeTimer <= 0 then