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

Hidetomo Katsura Hidetomo.Katsura at efi.com
Fri Apr 27 08:39:57 PDT 2007


> No, again, we MUST continue using the mixed-case strings in ppd_file_t,
> so we MUST do the toupper() in the hashed lookup (or not at all, given
> that we'll fall back on the strcasecmp() to verify the hash anyways...)

i see. seems like strcasecmp() has to stay for case-insensitivity,
unfortunately.

if your array/hash lookup can fallback, that's great. thanks.

katsura
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3065 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20070427/25745bdc/attachment.bin>


More information about the cups-devel mailing list