Struct git_pack::cache::lru::StaticLinkedList
source · pub struct StaticLinkedList<const SIZE: usize> { /* private fields */ }
Available on crate feature
pack-cache-lru-static
and (crate features pack-cache-lru-dynamic
or pack-cache-lru-static
) only.Expand description
A cache using a least-recently-used implementation capable of storing the SIZE
most recent objects.
The cache must be small as the search is ‘naive’ and the underlying data structure is a linked list.
Values of 64 seem to improve performance.