Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

implausible
Copy link
Member

We do this exact routine in GitKraken every time we need to get commits from libgit2. Considering that commit.getSignature is async, we waste a ton of time in processing callbacks for our commits there. This will retrieve all of the data we need in bulk, and ship that back in a neater package.

@implausible implausible force-pushed the feature/commit-walk-commit-models branch 2 times, most recently from ff67f6e to 796c589 Compare September 26, 2019 15:06
@implausible implausible force-pushed the feature/commit-walk-commit-models branch from 796c589 to 6ecd368 Compare September 26, 2019 15:19
Copy link
Member

@ianhattendorf ianhattendorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. A few variables can be const and a few casts can be narrowed, but everything else looks good. Much faster than before.

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.

3 participants