summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-12-06 22:51:00 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-12-06 23:17:19 +0100
commitfc4364696556678f4cac4f6cefed17b94b4ec776 (patch)
tree248cfe2ec1e6ac732a4113a5c0951aa14b7ce442 /CHANGELOG.md
parent5d1f31c6e67c0f7b8a5cadae32965be9c6123882 (diff)
downloadlibgit2-fc4364696556678f4cac4f6cefed17b94b4ec776.tar.gz
tree: mark a tree as already sortedcmn/tree-is-sorted
The trees are sorted on-disk, so we don't have to go over them again. This cuts almost a fifth of time spent parsing trees.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 196ad705a..a2dd76eba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,10 @@ v0.23 + 1
* You can now set your own user-agent to be sent for HTTP requests by
using the `GIT_OPT_SET_USER_AGENT` with `git_libgit2_opts()`.
+* Tree objects are now assumed to be sorted. If a tree is not
+ correctly formed, it will give bad results. This is the git approach
+ and cuts a significant amount of time when reading the trees.
+
### API additions
* `git_config_lock()` has been added, which allow for