[Fontconfig] Lazy caching
behdad at behdad.org
Fri Mar 11 02:31:59 UTC 2016
On Thu, Mar 10, 2016 at 5:39 PM, Jerry Casiano <jerrycasiano at gmail.com>
> Sounds right.
> Does it really require a version bump though?
Definitely can be done with the current API, since charsets are always
access through function calls. It affects FcPatternHash possibly.
That said, I like to suggest we make a slight API breakage, by removing
fcprivate.h, and making FcType and FcValue opaque. I don't think I saw any
client, ever, use those things. FcObjectType and FcConstant stuff are
also, I haven't seen used at all.
> On Mar 10, 2016 6:30 PM, "Behdad Esfahbod" <behdad at behdad.org> wrote:
>> I've started to convince myself that fontconfig should NOT by default
>> cache the charset info of all fonts, and do so only lazily. This will
>> solve most of the "caching is slow" issues... Needless to say, that's
>> better done in a fontconfig3...
>> Fontconfig mailing list
>> Fontconfig at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Fontconfig