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

katsura katsura at mac.com
Wed Apr 25 05:05:21 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

using hash table lookup improves about 1.2x to 1.3x when the number of
keywords is relatively large (>30). try the "Xerox Phaser 8550DX" PPD file
that comes with Mac OS X 10.4 for example.

modified source files from 1.3r6458 with "// KAT" comments attached.

you will need to remove the "Hack" part which is there for comparison
purpose.

katsura

Link: http://www.cups.org/str.php?L2358
Version:  -feature
Attachment: http://www.cups.org/strfiles/2358/20070424hashtable.zip





More information about the cups-devel mailing list