Changeset 3090 for trunk/src


Ignore:
Timestamp:
Oct 4, 2017, 4:29:37 PM (8 years ago)
Author:
bird
Message:

Increase the default hash table sizes (the virtualbox project has grown).

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/strcache.c

    r2591 r3090  
    260260  strcache2_init(&file_strcache,
    261261                 "file",        /* name */
    262                  65536,         /* hash size */
     262                 131072,        /* hash size */
    263263                 0,             /* default segment size*/
    264264#ifdef HAVE_CASE_INSENSITIVE_FS
  • trunk/src/kmk/variable.c

    r2893 r3090  
    249249             variable_hash_1, variable_hash_2, variable_hash_cmp);
    250250#else  /* CONFIG_WITH_STRCACHE2 */
    251   strcache2_init (&variable_strcache, "variable", 65536, 0, 0, 0);
     251  strcache2_init (&variable_strcache, "variable", 262144, 0, 0, 0);
    252252  hash_init_strcached (&global_variable_set.table, VARIABLE_BUCKETS,
    253253                       &variable_strcache, offsetof (struct variable, name));
Note: See TracChangeset for help on using the changeset viewer.