Commit 97ce9177 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

refs #5802, refine comment

git-svn-id: file:///svn/toku/tokudb@51200 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7101d13d
......@@ -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
//
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment