[英]Which cache algorithm is used in ccache?
I was trying to find any information about cache algorithm that are used in ccache
, but didn't find anything. 我试图找到有关
ccache
中使用的缓存算法的任何信息,但没有找到任何东西。 So, does anyone know how ccache
evict elements when max_size is reached? 那么,有谁知道达到max_size时
ccache
如何逐出元素? LRU? LRU? MRU?
MRU? "Ring buffer"?
“环形缓冲区”?
现在我在源代码中发现ccache正在使用LRU: https : //github.com/ccache/ccache/blob/c33cd219f85449078034ff75b54fd499549cf4e4/cleanup.c#L22
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.