Skip to content
Snippets Groups Projects
Commit cc64794b authored by Constantine Plotnikov's avatar Constantine Plotnikov Committed by Shawn O. Pearce
Browse files

Added caching for loose object lookup during pack indexing


On Windows systems, file system lookup is a slow operation, so
checking each object if it exists during indexing (after receiving
the pack) could take a siginificant time. This patch introduces
CachedObjectDirectory that pre-caches lookup results.

Bug: 300397
Change-Id: I471b93f9bb3ee173eb37cae1d75e9e4eb49985e7
Signed-off-by: default avatarConstantine Plotnikov <constantine.plotnikov@gmail.com>
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
parent 86e0c1e0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment