Function rocket_file_cache::small_files_priority_function [] [src]

pub fn small_files_priority_function(_: usize, size: usize) -> usize

Favor small files without respect to the number of times file was accessed.

The smaller the file, the higher priority it will have. Does not take into account the number of accesses the file has.