Re: Application startup performance

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


Akira TAGOH <akira@xxxxxxxxx> writes:

> Well, the scenario for the race is, installing a font A with a sub
> directory into the directory while fc-cache is collecting metadata
> from fonts at or traversing. so fc-cache writes out a dir cache
> without that subdir and no difference between mtime in cache and fs.
> then fontconfig can't reach out a cache file for A.

fontconfig caches per-directory, and stat's every directory at
startup. Why is the cache for the sub directory not out-of-date?

> I tried that before. it happened with it behaved that way. because
> couldn't even detect the change from mtime so needed to check the
> difference of the number of entries in both cache and fs.

Is that just because the mtime is too coarse?


Attachment: signature.asc
Description: PGP signature

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