refs #5802, refine comment

git-svn-id: file:///svn/toku/tokudb@51200 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:01:23 -04:00 committed by Yoni Fogel
parent bf54341114
commit e5151f7eda

View file

@ -3779,7 +3779,8 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
// if (2^16*curr_size/average_size > rnd)
// this evaluates to:
// if (2^16*curr_size*n_in_table/size_current > rnd)
// by multiplying each side of the equation by size_current,
// by multiplying each side of the equation by size_current, we get
// if (2^16*curr_size*n_in_table > rnd*size_current)
// and dividing each side by 2^16,
// we get the if-clause below
//