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

Conversation

carlosmn
Copy link
Member

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
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.

2 participants