Wraper functions for 8.0.1 spell/aura changes
View Single Post
05-01-18, 05:51 PM
A Murloc Raider
Join Date: Nov 2009
Originally Posted by
Test again, but instead 'nothing' use the name of an aura you expect to find (like cast Rejuvenation on yourself and run the test with it). The cache is twice as fast (this is the best case however, since because of the use of GetTime() and the test freezing the client, the cache is hit every time except for the initial call)
I never tested with `nothing`, my tests were done vs. a real training dummy over X minutes. There might be edge cases where using cache would be better (ie. for some reason you want to know about one specific debuff on a raid boss that wasn't applied by you).
In most other cases if you filter correctly (eg. use HARMFUL|PLAYER) the number of auras should be small enough to iterate over so that the overhead of creating / destroying the cache is worse than looping.
View Public Profile
Send a private message to boomboo
Find More Posts by boomboo