Add a new git_oid_strcmp that compares a string OID with a hex oid for sort order, and then reimplement git_oid_streq using it. This actually should speed up git_oid_streq because it only reads as far into the string as it needs to, whereas previously it would convert the whole string into an OID and then use git_oid_cmp.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| buffer.c | Loading commit data... | |
| copy.c | Loading commit data... | |
| dirent.c | Loading commit data... | |
| env.c | Loading commit data... | |
| errors.c | Loading commit data... | |
| filebuf.c | Loading commit data... | |
| hex.c | Loading commit data... | |
| mkdir.c | Loading commit data... | |
| oid.c | Loading commit data... | |
| oidmap.c | Loading commit data... | |
| opts.c | Loading commit data... | |
| path.c | Loading commit data... | |
| pool.c | Loading commit data... | |
| rmdir.c | Loading commit data... | |
| stat.c | Loading commit data... | |
| string.c | Loading commit data... | |
| strmap.c | Loading commit data... | |
| strtol.c | Loading commit data... | |
| vector.c | Loading commit data... |