aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/tests
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-04-19 08:32:14 -0300
committerDavid Bremner <david@tethera.net>2022-06-17 08:40:19 -0300
commit66ccf420c20bedec8dd78dc81ed1166761b7a467 (patch)
treed05cd230d80e9ee384e30d7065b0c41b199d0a45 /bindings/python-cffi/tests
parent5ef56fe8126006351008c4016ea34d97c7cdcd9f (diff)
CLI/git: cache git indices
If the private index file matches a previously known revision of the database, we can update the index incrementally using the recorded lastmod counter. This is typically much faster than a full update, although it could be slower in the case of large changes to the database. The "git-read-tree HEAD" is also a bottleneck, but unfortunately sometimes is needed. Cache the index checksum and hash to reduce the number of times the operation is run. The overall design is a simplified version of the PrivateIndex class.
Diffstat (limited to 'bindings/python-cffi/tests')
0 files changed, 0 insertions, 0 deletions