Quantcast
WoWInterface - View Single Post - setText or setFormattedText or ?
View Single Post
11-03-16, 12:24 PM   #12
rowaasr13
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 26
Just confirmed this.

Lua Code:
  1. /run for idx = 1, 500000 do MountJournal.SummonRandomFavoriteButton.spellname:SetText(string.format("%d %d", idx, idx)) end
+10 Mb addon memory.

Lua Code:
  1. /run for idx = 1, 500000 do MountJournal.SummonRandomFavoriteButton.spellname:SetFormattedText("%d %d", idx, idx) end
No changes to addon memory.
__________________
Garrison Mission Manager
  Reply With Quote