commit | 9cb76b8cdc8ac62a77080595f6443613fd64bab3 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Tue Jan 22 23:01:13 2008 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Jan 22 23:01:13 2008 -0800 |
tree | 4a212b4c8b39eba51631eb6e59c56c42e7c84cff | |
parent | cf558704fb68514a820e3666968967c900e0fd29 [diff] [blame] |
lazy index hashing This delays the hashing of index names until it becomes necessary for the first time. Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff --git a/cache.h b/cache.h index 409738c..e4aeff0 100644 --- a/cache.h +++ b/cache.h
@@ -191,6 +191,7 @@ struct cache_tree *cache_tree; time_t timestamp; void *alloc; + unsigned name_hash_initialized : 1; struct hash_table name_hash; };