[cups.development] [RFE] STR #2358: ppdFindOption()performanceimprovement using hash table lookup

Hidetomo Katsura Hidetomo.Katsura at efi.com
Thu Apr 26 22:08:16 PDT 2007


> I'll make sure to update the code to do a toupper (tolower spreads
> the letters away from the numbers, which reduces the effectiveness
> of the hash...)

thanks. that makes sense.

just make sure you don't do that "toupper" in the hash value generator.

toupper only needs to be done once per case-insensitive string.

regards,
katsura





More information about the cups mailing list