Ignore:
Timestamp:
Oct 13, 2008, 5:58:07 AM (17 years ago)
Author:
bird
Message:

kmk: improved the hashing of file table entries by making the strcache cache their hash values along with the string length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/filedef.h

    r1701 r1857  
    107107                                   by the explicit multi target rule. */
    108108#endif
    109 #ifdef CONFIG_WITH_2ND_TARGET_EXPANSION   
    110     unsigned int need_2nd_target_expansion:1; /* Nonzero if this file needs 
     109#ifdef CONFIG_WITH_2ND_TARGET_EXPANSION
     110    unsigned int need_2nd_target_expansion:1; /* Nonzero if this file needs
    111111                                  second expansion of its name. Whether it
    112112                                  can receive this is decided at parse time,
     
    122122
    123123struct file *lookup_file (const char *name);
     124#ifdef KMK
     125struct file *lookup_file_cached (const char *name);
     126#endif
    124127struct file *enter_file (const char *name);
    125128struct dep *parse_prereqs (char *prereqs);
Note: See TracChangeset for help on using the changeset viewer.