• Chen Wei's avatar
    tweak dict.c for performance and safety · f4ef873e
    Chen Wei authored
    1. choose shift-and-xor hash because it does not use multiply and is
       faster than bernstain during profiling
    2. better boundary check for normalize_domain_name
    3. change hash table % to bit &
    f4ef873e
dict.c 13.5 KB