summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-01-30 13:43:43 -0500
committerGitHub <noreply@github.com>2022-01-30 13:43:43 -0500
commitaae54d5b3c786e247e4a5030c8de563532585eff (patch)
treefb600a37c9149fb77ab0a0b42b8afb4e1e70eef0 /docs
parent12c2eef7ad5063864d068dbd23e0dc2b752cf155 (diff)
parent0a72a3ada2dec5405e8e1e4449ed585c4497ffc7 (diff)
downloadlibgit2-aae54d5b3c786e247e4a5030c8de563532585eff.tar.gz
Merge pull request #6138 from ccstolley/ccs_packedrefs_fast
refs: Speed up packed lookups.
Diffstat (limited to 'docs')
-rw-r--r--docs/changelog.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/changelog.md b/docs/changelog.md
index 8060874df..3723a080c 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -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.