Ignore:
Timestamp:
Oct 22, 2008, 8:49:48 PM (17 years ago)
Author:
bird
Message:

strcache2: Implemented collision resolution by chaining instead of open addressing. This is faster than the open addressing approach we're using.

File:
1 edited

Legend:

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

    r1903 r1909  
    773773                                                     entry->length,
    774774                                                     entry->hash1,
     775#ifdef STRCACHE2_USE_CHAINING
     776                                                     1);
     777#else
    775778                                                     entry->hash2);
     779#endif
    776780  return (const char *)entry->user;
    777781}
Note: See TracChangeset for help on using the changeset viewer.