Changeset 1897 for trunk/src/kmk/make.h


Ignore:
Timestamp:
Oct 21, 2008, 3:21:39 AM (17 years ago)
Author:
bird
Message:

kmk: added strcache2_get_ptr_hash for more efficent hashing by string pool users; replacing hash1 with that and hash2 with hash1, thus avoiding unnecessary hash2 calculations.

File:
1 edited

Legend:

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

    r1896 r1897  
    601601# define strcache_add(str)          strcache2_add_file(&file_strcache, str, strlen (str))
    602602# define strcache_add_len(str, len) strcache2_add_file(&file_strcache, str, len)
    603 # define strcache_get_len(str)      strcache2_get_len(&file_strcache, str)
    604 # define strcache_get_hash1(str)    strcache2_get_hash1(&file_strcache, str)
    605 # define strcache_get_hash2(str)    strcache2_get_hash2(&file_strcache, str)
     603# define strcache_get_len(str)      strcache2_get_len(&file_strcache, str) /* FIXME: replace this and related checks ... */
    606604
    607605#endif /* CONFIG_WITH_STRCACHE2 */
Note: See TracChangeset for help on using the changeset viewer.