Re:Show HN: Cachekit – High performance caching policies lib...
by carlmr on Wednesday January 14, 2026 @02:07AM
(#46613217)
On your example, without reading into the implementation, I'm wondering if the comment is wrong, or if the comment is telling us about a hidden default, but then what does the 2 mean.
Why 100? Why not 2?
[ Parent
| on HN ]
Re:Show HN: Cachekit – High performance caching policies lib...
by failsafe on Wednesday January 14, 2026 @02:26AM
(#46613320)
derp, It should be LRU instead of LRU-K.
Re:Show HN: Cachekit – High performance caching policies lib...
by touisteur on Wednesday January 14, 2026 @07:03AM
(#46615105)
Another time I wish rust had named parameters. For reading code without an IDE (which is a lot of the experience in discovering a library, learning, navigating in code on github...) it would be useful.