Streamlining fontconfig scanning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi everyone,

I have a proposed patchset speeding up fontconfig scanning by 10x, simply by not loading glyphs at all, and trusting fonts having correct cmap:

If no one has comments, I like to merge this and get it out for testing in the wild.

After this, I think we should fix the relocatable feature to not touch mmaped cache files.  Here's my proposed approach:

After that, we should clean up the cache race patches and remove the locking.  We should accept that cache updates will always remain racy, simply because we don't have or want to use the kinds of synchronization primitives that guarantee no race.  With scanning 10x faster this shouldn't be a problem in practice.  I like to get back to each process trying to update the cache and possibly discarding its result if another process already did...

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux