mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-23 07:39:32 -04:00
The macro cooldown display from the previous commit iterated all known spells (400+) every frame for each macro on the action bar, doing lowercase string comparisons. Moved the spell name resolution into a cached lookup (macroPrimarySpellCache_) that only runs once per macro and is invalidated when macro text is edited. The per-frame path now just does a single hash map lookup + spellCooldowns check.