49 Commits (ae821ffe8327ebb24b16ba5a42c6d675050319d7)

Author SHA1 Message Date
Elijah Newren 15beaaa3d1 Fix spelling errors in code comments 5 years ago
Eric Wong 404ab78e39 hashmap: remove type arg from hashmap_{get,put,remove}_entry 5 years ago
Eric Wong 23dee69f53 OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
Eric Wong c8e424c9c9 hashmap: introduce hashmap_free_entries 5 years ago
Eric Wong 939af16eac hashmap_cmp_fn takes hashmap_entry params 5 years ago
Eric Wong f23a465132 hashmap_get{,_from_hash} return "struct hashmap_entry *" 5 years ago
Eric Wong f0e63c4113 hashmap: use *_entry APIs to wrap container_of 5 years ago
Eric Wong 6bcbdfb277 hashmap_get_next returns "struct hashmap_entry *" 5 years ago
Eric Wong 28ee794128 hashmap_remove takes "const struct hashmap_entry *" 5 years ago
Eric Wong b6c5241606 hashmap_get takes "const struct hashmap_entry *" 5 years ago
Eric Wong b94e5c1df6 hashmap_add takes "struct hashmap_entry *" 5 years ago
Eric Wong f6eb6bdcf2 hashmap_get_next takes "const struct hashmap_entry *" 5 years ago
Eric Wong d22245a2e3 hashmap_entry_init takes "struct hashmap_entry *" 5 years ago
René Scharfe 568a05c5ec cleanup: fix possible overflow errors in binary search, part 2 6 years ago
Nguyễn Thái Ngọc Duy f8adbec9fe cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch 6 years ago
Nguyễn Thái Ngọc Duy 2179045fd0 Clean up pthread_create() error handling 6 years ago
Nguyễn Thái Ngọc Duy 07642942aa name-hash.c: remove #ifdef NO_PTHREADS 6 years ago
Nguyễn Thái Ngọc Duy c46c406ae1 trace.h: support nested performance tracing 7 years ago
Ben Peart c95525e90d name-hash: properly fold directory names in adjust_dirname_case() 7 years ago
Nguyễn Thái Ngọc Duy ca54d9baa4 trace: measure where the time is spent in the index-heavy operations 7 years ago
Jeff Hostetler 8b604d1951 hashmap: add API to disable item counting when threaded 8 years ago
Stefan Beller 56a14ea7ac name-hash.c: drop hashmap_cmp_fn cast 8 years ago
Stefan Beller 7663cdc86c hashmap.h: compare function has access to a data field 8 years ago
Kevin Willford 2a1bd45b2e name-hash: fix buffer overrun 8 years ago
Jeff Hostetler 846df809bc name-hash: perf improvement for lazy_init_name_hash 8 years ago
Jeff Hostetler 16f9b4cdd3 name-hash: specify initial size for istate.dir_hash table 8 years ago
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros 9 years ago
David Turner 41284eb0f9 name-hash: don't reuse cache_entry in dir_entry 9 years ago
Karsten Blees ab73a9d119 hashmap: add simplified hashmap_get_from_hash() API 11 years ago
Jeremiah Mahler be99ec97c8 name-hash.c: replace cache_name_compare() with memcmp(3) 11 years ago
Eric Sunshine 7b359ea6b3 name-hash: retire unused index_name_exists() 11 years ago
Karsten Blees 419a597f64 name-hash.c: remove cache entries instead of marking them CE_UNHASHED 11 years ago
Karsten Blees 8b013788a1 name-hash.c: use new hash map implementation for cache entries 11 years ago
Karsten Blees 1c8cca190a name-hash.c: remove unreferenced directory entries 11 years ago
Karsten Blees e05881a457 name-hash.c: use new hash map implementation for directories 11 years ago
Eric Sunshine d28eec2673 name-hash: stop storing trailing '/' on paths in index_state.dir_hash 12 years ago
Eric Sunshine db5360f3f4 name-hash: refactor polymorphic index_name_exists() 12 years ago
Nguyễn Thái Ngọc Duy c73592812d Preallocate hash tables when the number of inserts are known in advance 12 years ago
Karsten Blees 2092678cd5 name-hash.c: fix endless loop with core.ignorecase=true 12 years ago
Junio C Hamano c19387e799 name-hash: allow hashing an empty string 12 years ago
Johannes Sixt 395c73560b name-hash.c: always initialize dir_next pointer 13 years ago
Jeff King 2548183bad fix phantom untracked files when core.ignorecase is set 14 years ago
Joshua Jensen 5102c6173c Add case insensitivity support for directories when using git status 15 years ago
Linus Torvalds cd2fef59ed Make hash_name_lookup able to do case-independent lookups 17 years ago
Linus Torvalds df292c791a Make "index_name_exists()" return the cache_entry it found 17 years ago
Linus Torvalds 96872bc200 Move name hashing functions into a file of its own 17 years ago