View Single Post
09/25/18, 05:40 AM   #3
Gandalf
 
Gandalf's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2016
Posts: 28
Thanks Votan!

So this is actually a new bug.

However this bug triggers bad programming on my side three years ago
I never should have used zo_iconTextFormat anyway.

These textformat functions come with quiet a cost:

Code:
/script local msStart = GetGameTimeMilliseconds() for i = 1,1000 do local icon = zo_iconTextFormat("EsoUI/Art/MapPins/AvA_largeKeep_Aldmeri.dds",40,40) end d(GetGameTimeMilliseconds()-msStart.."ms")
Tells me 50 -150ms

Code:
/script local msStart = GetGameTimeMilliseconds() for i = 1,1000 do local icon = zo_iconFormat("EsoUI/Art/MapPins/AvA_largeKeep_Aldmeri.dds",40,40) end d(GetGameTimeMilliseconds()-msStart.."ms")
Tells me 1ms
  Reply With Quote