Remove classCache check
It’s no longer necessary. If we have an entry in the `candidateRuleCache` then it’ll also be in the class cache and vice-versa. Also, we weren’t adding rules when hitting that cache like we should’ve been.
This commit is contained in:
parent
58cc7ed3e8
commit
c601fea37e
1 changed files with 0 additions and 4 deletions
|
|
@ -686,10 +686,6 @@ function generateRules(candidates, context) {
|
|||
continue
|
||||
}
|
||||
|
||||
if (context.classCache.has(candidate)) {
|
||||
continue
|
||||
}
|
||||
|
||||
if (context.candidateRuleCache.has(candidate)) {
|
||||
allRules = allRules.concat(Array.from(context.candidateRuleCache.get(candidate)))
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue