pub fn normal_priority_function(access_count: usize, size: usize) -> usize {
    match usize::checked_mul(size, access_count) {
        Some(v) => v,
        None => usize::MAX,
    }
}
/// Priority is calculated as the size times the access count.
Priority is calculated as the size times the access count.
Priority is calculated as the size times the access count .
pub fn normal_priority_function(access_count: usize, size: usize) -> usize {
    match usize::checked_mul(size, access_count) {
        Some(v) => v,
        None => usize::MAX,
    }
}
pub fn normal_priority_function ( access_count : usize , size : usize ) -> usize { match usize :: checked_mul ( size , access_count ) { Some ( v ) => v , None => usize :: MAX , } }
Priority is calculated as the size times the access count.
Priority is calculated as the size times the access count .
access_count
usize
size
usize
access_count
usize
size
usize