Closed xpdota closed 1 week ago
Currently, only a single key is used:
const setSpeed = set.isStatRelevant('spellspeed') ? set.computedStats.spellspeed : set.computedStats.skillspeed; if (setSpeed !== this.cachedSpeed) { this.cachedCycleProcessors = this.generateRotations(set); this.cachedSpeed = setSpeed; }
However, this fails in two circumstances:
Instead, consider using an array of relevant data as the cache key.
Currently, only a single key is used:
However, this fails in two circumstances:
Instead, consider using an array of relevant data as the cache key.