Descriptionprecache: Add geometric resource weight function.
Add an alternative function for combining resource weight with host
visit frequency. This one is a measure of the probability that there
will be a cache hit for the resource, given that resource_weight is the
probability of a cache hit for a single trial and host_visits is the
number of independent trials.
BUG=
Review-Url: https://codereview.chromium.org/2623553003
Cr-Commit-Position: refs/heads/master@{#443464}
Committed: https://chromium.googlesource.com/chromium/src/+/591b347c5ffa6c9841a0ae9e08e28b3820ed9641
Patch Set 1 #Patch Set 2 : Add comments and tests. #
Total comments: 2
Patch Set 3 : Add function comments. #Patch Set 4 : Rebase. #Patch Set 5 : Add default case, needed by some compilers. #
Messages
Total messages: 22 (12 generated)
|