diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-05-17 01:46:07 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-05-17 01:46:07 +0300 |
commit | 335d6c998041f7c44dce48d3bb087c52136d970f (patch) | |
tree | 4a1c03d17d2a562445bf5bd0d36b37c216521aa6 /src/cache.h | |
parent | 3de79280e3aa79eb9bc95fa1e5a69499ba448bd9 (diff) | |
download | libgit2-335d6c998041f7c44dce48d3bb087c52136d970f.tar.gz |
cache: Drop cuckoo hashing
Now we use a simple closed-addressing cache. Cuckoo hashing was creating
too many issues with race conditions. Fuck that.
Let's see what happens performance wise, we may have to roll back or
come up with another way to implement an efficient multi-threaded cache.
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cache.h b/src/cache.h index 2d9bb51eb..4794dea3a 100644 --- a/src/cache.h +++ b/src/cache.h @@ -19,7 +19,6 @@ typedef struct { typedef struct { git_cached_obj *ptr; git_mutex lock; - unsigned int lru; } cache_node; typedef struct { |