WoWInterface - View Single Post - i have yet another question ( best title i could think of )
View Single Post
04-25-10, 05:54 AM   #2
A Molten Giant
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by alimjocox View Post
alUI.texture = "Interface\\AddOns\\texture"
--[[ lets say this is going on up here ]]--

very @n4l question here. (hope i'm allowed to say @n4l). gently caress it.

So I've been looking through the code of many minimal UIs (rec, cael, nc, clean, etcc). I'm just wondering what effect on CPU performance does or even memory

in comparison to
Imagine this @ a larger scale ofc. taking in fonts, various integer sizes etc.

hopefully you understand what I mean. But yeah, I'm just wondering, is it simply convenience or are there reasons beyond my noob understanding?
Does it matter? alUI.Texture is much much more easy to maintain, because you can change all the textures in one shot in one location, instead of having to find and replace every single "Interface\\AddOns\\texture".

To answer the question, it MIGHT differ a few bytes, so if you that that 1000 times you've saved a kilobyte! YAAAAY!!!!! (srsly, doesn't matter)
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote