Changes

Jump to: navigation, search

User:Sspitzer/GlobalFrecency

367 bytes added, 00:31, 30 December 2007
no edit summary
for new bookmarks, we will be calculating the frecency (and unhiding) when we call InsertBookmark()
 
9)
 
I've made prefs for everything, so we can easily tune it. note, for download, and redirect transitions, and 0 (undefined, see bug #xxxxxx) the weight is 0. (will anything bad happen if we go negative? I don't think so.)
 
10)
 
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.
 
'''todo'''
prefs->SetIntPref(PREF_BROWSER_LEFTPANEFOLDERID, -1);"
covered by another bug, but we need to fix it before landing, otherwise going back and forth between versions will hork the organizer.
x)
// when we created the moz_place entry for the new bookmarkspossible optimization, hidden was 1if not bookmark and no visit count, // so frecency was 0. now update the frecency for this item // XXX unless this is a livemarkbail out early from frequency calculation? printf("XXX %lld UpdateFrecencyAndHiddenForBookmark\n", childID);
x)
make sure that we aren't doing too much work when a) TRANSITION_BOOKMARKb) prefs livemark gets updated, due to make the pig tunabled) what weight should transistion download have?removing from hash
x)
optimizationfirst time migration delay: from adding column with -1 to moz_places (acceptable, if not bookmark and no visit count, bail out early from frequency calculation?much we can do)
x)
make sure that determine if we aren't doing too much work when a livemark gets updated, due to removing from hashreally need the index on frecency
x)
first time , all bogus (need to take the top <x> and recalc), on migration delay: and import from adding column with -1fx 2
x)
first timeare there any undesirable side effects of clearing hidden? I don't think so, all bogus (need to take the top <x> and recalcas visiting a bm would unhide it.) note, on migration bm search now in open location and import from fx 2pref page autocompletes
x)
impact of hidden for bmverify: noteon any visit, bm search now in open location and pref pagerecalc
x)
verify on any erase visit, recalc
x)
verify on any erase visitpartial expire, recalc
x)
when do I reval places I don't revisitverify on clear all data, we set to -1 (or recalc? or leave alone? (expiration might be a long time). page with 10 visits in 1 day will have high frecenctuntil I recalc
x)
make sure not too much "on idle" cpu usage 
x)
x)
should url bar drop down be frecency or visit date? 
x)
234
edits

Navigation menu