inkfish/proof_pietrzak.py
def approximate_i(T):
    """Performs the approximation from the paper to select a resonable cache
     size"""
    x = (T / 16) * math.log(2)
    w = math.log(x) - math.log(math.log(x)) + 0.25
    return round(w / (2 * math.log(2)))
Performs the approximation from the paper to select a resonable cache
     size
Performs the approximation from the paper to select a resonable cache
size
Performs the approximation from the paper to select a resonable cache size
def approximate_i(T):
    x = (T / 16) * math.log(2)
    w = math.log(x) - math.log(math.log(x)) + 0.25
    return round(w / (2 * math.log(2)))
def approximate_i ( T ) : x = ( T / 16 ) * math . log ( 2 ) w = math . log ( x ) - math . log ( math . log ( x ) ) + 0.25 return round ( w / ( 2 * math . log ( 2 ) ) )
Performs the approximation from the paper to select a resonable cache
size
Performs the approximation from the paper to select a resonable cache size
"""Performs the approximation from the paper to select a resonable cache
     size"""
T