-
-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Description
Summary
Add support for the core.deltaBaseCacheLimit configuration option, which controls the maximum amount of memory used for caching delta base objects.
Description
The core.deltaBaseCacheLimit option limits the amount of memory used to cache base objects for delta compression. When unpacking delta objects, Git caches the base objects to speed up subsequent delta unpacking. This setting controls how much memory can be used for this cache.
Benefits
- Better memory management during pack file operations
- Improved performance tuning for delta operations
- Essential for handling large repositories efficiently
- Provides compatibility with Git's delta caching behavior
Implementation Notes
This would involve implementing a size-limited cache for delta base objects with appropriate eviction policies when the memory limit is reached.