Skip to content

git_remote_prune to be O(n * logn)#4794

Merged
pks-t merged 1 commit into
libgit2:masterfrom
marcin-krystianc:mkrystianc/prune_perf
Sep 21, 2018
Merged

git_remote_prune to be O(n * logn)#4794
pks-t merged 1 commit into
libgit2:masterfrom
marcin-krystianc:mkrystianc/prune_perf

Conversation

@marcin-krystianc

Copy link
Copy Markdown
Contributor

This is to improve performance of git_remote_prune. Before this change it got O(n * n) complexity, now it is O(n * logn).

@ethomson

ethomson commented Sep 3, 2018

Copy link
Copy Markdown
Member

/rebuild

@libgit2-azure-pipelines

Copy link
Copy Markdown

Okay, @ethomson, I started to rebuild this pull request.

Comment thread src/remote.c
@pks-t pks-t merged commit a54043b into libgit2:master Sep 21, 2018
@pks-t

pks-t commented Sep 21, 2018

Copy link
Copy Markdown
Member

Thanks for this PR, @marcin-krystianc!

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.

4 participants