View Single Post
05-02-18, 04:16 AM   #15
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
If you have a case where you query information about multiple auras upon every UNIT_AURA then a cache is useful. Basically you refresh your cache once on UNIT_AURA and all your queries always hit the cache. If your cache structure is shallow enough, the table look-ups will be faster then calling UnitAura. One problem with Edik's implementation is that auras are re-iterated on cache misses and the new iteration is also a miss. If you can't trust the cache, then there is no point in it.
  Reply With Quote