mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Don't stop looking at the sharing cache for various reasons.
All the information that made those failures expensive is now lazily computed and cached, or eagerly computed anyway, so seems not worth to stop iteration.
This commit is contained in:
parent
9515abbca3
commit
8667cea4ca
1 changed files with 0 additions and 10 deletions
|
@ -595,16 +595,6 @@ impl<E: TElement> StyleSharingCandidateCache<E> {
|
|||
}
|
||||
Err(miss) => {
|
||||
debug!("Cache miss: {:?}", miss);
|
||||
|
||||
// Cache miss, let's see what kind of failure to decide
|
||||
// whether we keep trying or not.
|
||||
match miss {
|
||||
// Too expensive failure, give up, we don't want another
|
||||
// one of these.
|
||||
CacheMiss::PresHints |
|
||||
CacheMiss::Revalidation => break,
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue