Skip to content
  • Joey Hess's avatar
    cache negative lookups of global numcopies and mincopies · 3c15e0f7
    Joey Hess authored
    Speeds up eg git-annex sync --content by up to 50%. When it does not need
    to transfer or drop anything, it now noops a lot more quickly.
    
    I didn't see anything else in sync --content noop loop that could really
    be sped up. It has to cat git objects to keys, stat object files, etc.
    
    Sponsored-by: unqueued on Patreon
    3c15e0f7