[Fontconfig] [PATCH] Cache most recent regcomp() call in _FcStrRegexCmp().

Behdad Esfahbod behdad at behdad.org
Thu May 2 08:33:48 PDT 2013


On 13-05-02 06:12 AM, Nick Alcock wrote:
> The call stack of all these regex calls is the same:
> 
> FcFontMatch
> FcFontSetMatchInternal
> FcCompare
> FcCompareValueList
> FcCompareFilename
> FcStrRegexCmp
> 
> I'm sure some FC_DEBUG value can give useful output to say what value
> list this is coming from, but the only one I've found that gives
> anything (FC_DEBUG=2) just gives huge sprays of stuff that's useless for
> this purpose :/

Well, if you figure out, let us know.  Because I cannot reproduce it here,
unless my search pattern has the "file" element set.  Is that what Emacs is
doing?!

-- 
behdad
http://behdad.org/


More information about the Fontconfig mailing list