Changes

Jump to: navigation, search

User:Sspitzer/GlobalFrecency

567 bytes added, 19:18, 30 December 2007
no edit summary
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'''
 
x)
 
queries should not show up in autocomplete
x)
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)
234
edits

Navigation menu