View Single Post
06-11-10, 01:24 PM   #3
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 188
I don't see any efficiency problems. You only need to scan when the faction list changes otherwise you just use a cache. In most play sessions this is one iteration of the faction list and a simple hash table lookup when you need the information.

There's a babble library for this though.

http://www.wowace.com/addons/libbabble-faction-3-0/
  Reply With Quote