Skip rule node which contains only inherited properties for rule cache.

This commit is contained in:
Xidorn Quan 2018-01-05 09:54:59 +11:00
parent 782e3fe4e4
commit 3593392788
6 changed files with 75 additions and 7 deletions

View file

@ -597,7 +597,12 @@ where
self.context
.thread_local
.rule_cache
.insert_if_possible(&values, pseudo, &conditions);
.insert_if_possible(
&self.context.shared.guards,
&values,
pseudo,
&conditions
);
values
}