Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Rainrider
Forum: PTR General Discussion 05-02-18, 04:16 AM
Replies: 14
Views: 8,618
Posted By Rainrider
If you have a case where you query information...

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...
Forum: PTR General Discussion 05-01-18, 07:17 AM
Replies: 14
Views: 8,618
Posted By Rainrider
Test again, but instead 'nothing' use the name of...

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,...
Forum: PTR General Discussion 04-30-18, 03:34 PM
Replies: 14
Views: 8,618
Posted By Rainrider
I used this for testing: local addon =...

I used this for testing:

local addon = ...

local UnitAuraCache = {} -- cached values are updated ten times per second and stored by unit+filter
local function UnitAura(unit, ...) -- 7.x to 8.x...
Forum: PTR General Discussion 04-30-18, 10:17 AM
Replies: 14
Views: 8,618
Posted By Rainrider
I'm sorry but I don't understand how it comes...

I'm sorry but I don't understand how it comes "pretty rude". Also I did respond to Edik and I think s/he is the one to complain if s/he felt offended.
Forum: PTR General Discussion 04-30-18, 06:55 AM
Replies: 14
Views: 8,618
Posted By Rainrider
Your aura caching is utterly inefficient and in...

Your aura caching is utterly inefficient and in its current form actually useless. What is the point in hitting a cache which invalidates itself every 1/10 of a second?
Showing results 1 to 5 of 5