View Single Post
02-04-12, 01:38 PM   #8
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
She already touched on this point.
Using libraries does not automatically make an addon less efficient, and not using libraries does not automatically make an addon more efficient. In most cases, using a library improves overall efficiency because users will have multiple addons using the same library (code is only loaded in memory once, and shared between all addons), and it certainly saves time for you as a developer.
Think of libraries as an extra layer of API you can use. Any addon that wants to can use this API, you just need to have the library that includes the code installed as well. Most addons come with the libraries they wish to use in order to make sure that you will have them installed. If you have more than one addon installed that includes the same library, only one will be used to save on memory.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote