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

Hidetomo Katsura Hidetomo.Katsura at efi.com
Thu Apr 26 17:11:21 PDT 2007


> i guess the hash value function just need to be changed to
> convert the input string to lowercase (each character to a
> lowercase) in order to keep the case-insensitivity.

atually, this is a bad idea. the hash value function has to be super fast. it
shouldn't be doing lowercase conversion.

the reasonable fix would be to store all string values in lowercase.

regards,
katsura





More information about the cups-devel mailing list