mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Merge pull request #6138 from ccstolley/ccs_packedrefs_fast
refs: Speed up packed lookups.
This commit is contained in:
@@ -1963,3 +1963,8 @@ v0.22
|
||||
functions. This is not something which we can know to do. A
|
||||
last-resort convenience function is provided in sys/openssl.h,
|
||||
`git_openssl_set_locking()` which can be used to set the locking.
|
||||
|
||||
* `git_reference_*()` functions use mmap() + binary search for packed
|
||||
refs lookups when using the fs backend. Previously all entries were
|
||||
read into a hashtable, which could be slow for repositories with a
|
||||
large number of refs.
|
||||
|
||||
Reference in New Issue
Block a user