234
edits
No edit summary |
No edit summary |
||
| Line 74: | Line 74: | ||
when do we recalc frecencies for places I don't revisit? on expiration, but that could be a long time. we also recalc on idle (after first bucket days), ordered by high frececeny. | when do we recalc frecencies for places I don't revisit? on expiration, but that could be a long time. we also recalc on idle (after first bucket days), ordered by high frececeny. | ||
11) | |||
like unvisited livemark items, place: queries should not show up in autocomplete results. using IsQueryURI(), I check if the place url is place:..., and if so, pass in false for isBookmark to CalculateFrecency() so that they stay hidden until visited (or in the case of place: urls, always.) because the frecency is zero (passing in PR_TRUE for isBookmark would result in non-zero frecency), we will also no recalculate frecency on idle. only upon visit. | |||
'''todo''' | '''todo''' | ||
x) | x) | ||
| Line 91: | Line 90: | ||
possible optimization, if not bookmark and no visit count, bail out early from frequency calculation? | possible optimization, if not bookmark and no visit count, bail out early from frequency calculation? | ||
x) | |||
rename the isBookmark arg to isNonHiddenBookmark in the CalculateFrecency() methods, as it's really for non place:, non univisited livemark items? | |||
x) | x) | ||
edits