diff --git a/HealBot_Controller_Spells.lua b/HealBot_Controller_Spells.lua index 8ee88cb..e84201d 100644 --- a/HealBot_Controller_Spells.lua +++ b/HealBot_Controller_Spells.lua @@ -627,7 +627,11 @@ end -- HealBot_RecalcHeals: Flags unit for visual refresh. function HealBot_RecalcHeals(unit) - HealBot_Action_Refresh(unit); + if unit then + HealBot_View_DirtyUnits[unit] = true; + else + HealBot_Action_Refresh(); + end end -- HealBot_RecalcParty: Triggers group layout rebuild. diff --git a/README.md b/README.md index 30f3c00..a0a402c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ Default installation path: `C:\Program Files\World of Warcraft\Interface\AddOns\ **v1.7.3** * **Performance Fix - Table Pooling Part 2** - Fixed remaining un-pooled table allocations in layout updates, macro parsing, nampower integration, and aura tracking by utilizing HealBot_GetTable(). +* **Performance Fix - HealComm Networking** - Fixed issue where incoming `HealComm` messages triggered synchronous UI redraws, causing massive lag in 40-man raids during combat. `HealBot_RecalcHeals` is now decoupled and deferred through the `HealBot_OnUpdate` dirty queue, allowing multiple network events to collapse into a single frame redraw. **v1.7.2** * **Performance Fix - Table Pooling** - Fixed massive Vanilla Lua 5.0 garbage collection memory leaks caused by unbounded table allocations in high-frequency update loops (e.g., `OnUpdate` and `PreserveStateByGUID`). Moved tables to file-local scope and implemented inline clearing.