• Chen Tianjie's avatar
    Correct bytes_per_key computing. (#12897) · 87786342
    Chen Tianjie authored
    Change the calculation method of bytes_per_key to make it closer to
    the true average key size. The calculation method is as follows:
    
    mh->bytes_per_key = mh->total_keys ? (mh->dataset / mh->total_keys) : 0;
    87786342
object.c 63.5 KB