diff options
author | Antonio Navarro Perez <antnavper@gmail.com> | 2017-01-25 14:29:39 +0100 |
---|---|---|
committer | Santiago M. Mola <santi@mola.io> | 2017-01-25 14:29:39 +0100 |
commit | ec28bd3808d42f523eeb05e23909dbfc54eb9bcd (patch) | |
tree | c7c5470a3f0089f01c5c9e2d80fef60da16a3c94 /doc.go | |
parent | dc45de29f87a43078356a5be4c4b5aa24f626ee0 (diff) | |
download | go-git-ec28bd3808d42f523eeb05e23909dbfc54eb9bcd.tar.gz |
packfile: cache undeltified objects to improve decode performance (#218)
* Simple object cache that keeps in memory the last undeltified objects.
When no more objects can be kept into memory, the oldest one is deleted (FIFO).
This speeds up packfile operations preventing redundant seeks and decodes.
Diffstat (limited to 'doc.go')
0 files changed, 0 insertions, 0 deletions