★ wanayoo — archive 1999 https://github.com/libgit2/pygit2/pull/397Nouvelle recherche | Portail wanayoo
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

oid: do not load the object when expanding #397

Merged
merged 1 commit into from Jul 28, 2014
Merged

Conversation

@carlosmn
Copy link
Member

carlosmn commented Jul 26, 2014

We now have a function which lets us expand an id prefix by checking for
existence and uniqueness instead of loading the object with that id.


Ofen we're going to load the object immediately after so the difference would end up being a shift in where we spend the time loading it, but I think it's still worth trying to avoid work where it doesn't belong.

We now have a function which lets us expand an id prefix by checking for
existence and uniqueness instead of loading the object with that id.
@jdavid jdavid merged commit 612639a into libgit2:master Jul 28, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.