aboutsummaryrefslogtreecommitdiffstats
path: root/WORKSPACE
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2019-11-12 14:33:29 -0800
committerIvan Frade <ifrade@google.com>2019-11-21 09:30:19 -0800
commit2ff0c0abaaa88f26eda4ae553cbbb954c74642df (patch)
tree781c450d0c9abd39fae55b75dfabedba1cbee3ad /WORKSPACE
parentfa1566f40c27459d6734e50d7724ce99064185fc (diff)
downloadjgit-2ff0c0abaaa88f26eda4ae553cbbb954c74642df.tar.gz
jgit-2ff0c0abaaa88f26eda4ae553cbbb954c74642df.zip
UploadPack: Prioritize references for non-advertised wants checks
UploadPack needs to check if object ids that weren't advertised before are reachable from the references visible to the user. In the bitmap-based reachability check, this is done incrementally: checking against one reference, if anything remaining adding a second and so on. It is more efficient to check first more common references (e.g. refs/heads/*) Sort the references for the reachability checker. This should solve the connectivity earlier and require less bitmap creation and less memory. Change-Id: I48ac10d71e29fab2d346479802401eaea4aacb5c Signed-off-by: Ivan Frade <ifrade@google.com>
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions