Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Repository.ListPack() #1575

Conversation

ifedorenko
Copy link
Contributor

@ifedorenko ifedorenko commented Jan 24, 2018

What is the purpose of this change? What does it change?

Use pack file size returned by Backend.List() to avoid extra per-pack
Backend.Stat() requests

Was the change discussed in an issue or in the forum before?

See #1567

Checklist

  • I have read the Contribution Guidelines
  • I have added tests for all changes in this PR
  • I have added documentation for the changes (in the manual)
  • There's a new file in a subdir of changelog/x.y.z that describe the changes for our users (template here)
  • I have run gofmt on the code in all commits
  • All commit messages are formatted in the same style as the other commits in the repo
  • I'm done, this Pull Request is ready for review

Use pack file size returned by Backend.List() to avoid extra per-pack
Backend.Stat() requests

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
@ifedorenko ifedorenko force-pushed the 1567_optimize-repository-ListPack branch from 413817b to 0084e42 Compare January 24, 2018 03:39
fd0 added a commit that referenced this pull request Jan 24, 2018
fd0 added a commit that referenced this pull request Jan 24, 2018
@fd0 fd0 closed this Jan 24, 2018
@ifedorenko ifedorenko deleted the 1567_optimize-repository-ListPack branch January 25, 2018 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants