[Fontconfig] performance patch: reduce stat () call if all cache files can be trusted

Mike FABIAN mfabian at suse.de
Fri Feb 10 09:47:42 PST 2006


Takashi IWAI <tiwai at suse.de> made a patch to reduce the amount of stat
() calls in the case when one is absolutely sure that all cache files
are OK and up-to-date and can be trusted. 

For details see

    http://bugzilla.novell.com/show_bug.cgi?id=148361

from comment #20 on.

There are problems if the cache files are not correct of course,
but nevertheless Takashi's patch might be a useful performance hack
if a user is able to make sure that all cache files can be trusted.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fc-validatecache-option.diff
Type: text/x-patch
Size: 4114 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060210/ea88726a/fc-validatecache-option.bin
-------------- next part --------------

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
?????????????


More information about the Fontconfig mailing list