Linus Torvalds [off-list ref] writes:
Here's the trivial patch to extend the caching to 1k entries if somebody
cares. I don't know if the small added performance is worth it.
This largely would depend on the project, but if a blob that is
cached is 20kB each, a 1024-entry cache would grow to 20MB. We
may need to introduce early eviction of cached objects with
total cache size limit, configurable per repository.