]> git.proxmox.com Git - libgit2.git/commit
index: keep a hash table as well as a vector of entries
authorCarlos Martín Nieto <cmn@dwim.me>
Fri, 14 Aug 2015 19:10:12 +0000 (21:10 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Fri, 14 Aug 2015 19:10:12 +0000 (21:10 +0200)
commitaf1d5239a16976bd1b8d0a9358497f043bdfed14
treea6b784dd79eb08da7f3951bfdf07249a06608c50
parentc232d6c32df90e009dcb8d79309d2c9b9f51b77a
index: keep a hash table as well as a vector of entries

The hash table allows quick lookup of specific paths, while we use the
vector for enumeration.
src/index.c
src/index.h