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

git_oid_cmp: inline memcmp by hand to optimize #847

Merged
merged 1 commit into from Jul 30, 2012

Commits on Jul 29, 2012

  1. git_oid_cmp: inline memcmp by hand to optimize

    git.git uses an inlined hashcmp function instead of memcmp, since it
    performes much better when comparing hashes (most hashes compared
    diverge within the first byte).
    
    Measurements and rationale for the curious reader:
    http://thread.gmane.org/gmane.comp.version-control.git/172286
    schu committed Jul 29, 2012
    Copy the full SHA
    f6b26e7 View commit details
    Browse the repository at this point in the history