diff options
author | Karl Berry <karl@freefriends.org> | 2008-05-29 18:59:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-05-29 18:59:15 +0000 |
commit | 83a925beac351c221bc8499021eaf8568a758801 (patch) | |
tree | 5eb57de2c2d82f0aefecd4c857d301d9c6c6b8c2 /Build | |
parent | 6e0be10ddc6ca818388515078efd3393ad1740a5 (diff) |
increase hash size to 75000+, about our current texmf-dist/ls-R size
git-svn-id: svn://tug.org/texlive/trunk@8408 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/kpathsea/db.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/db.c b/Build/source/texk/kpathsea/db.c index 6b5fab8caf0..d6c501abc77 100644 --- a/Build/source/texk/kpathsea/db.c +++ b/Build/source/texk/kpathsea/db.c @@ -31,11 +31,8 @@ #include <kpathsea/variable.h> static hash_table_type db; /* The hash table for all the ls-R's. */ -/* SMALL: The old size of the hash table was 7603, with the assumption - that a minimal ls-R bas about 3500 entries. But a typical ls-R will - be more like double that size. */ #ifndef DB_HASH_SIZE -#define DB_HASH_SIZE 15991 +#define DB_HASH_SIZE 75079 /* Based on the size of 2008 texmf-dist/ls-R. */ #endif #ifndef DB_NAME #define DB_NAME "ls-R" @@ -349,7 +346,7 @@ kpse_init_db P1H(void) string *db_files; string *orig_db_files; - assert(sizeof(DB_NAME) == sizeof(DB_NAME_LC)); + assert (sizeof(DB_NAME) == sizeof(DB_NAME_LC)); db_path = kpse_init_format (kpse_db_format); db_files = kpse_all_path_search_list (db_path, db_names); |