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?

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

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

  Powered by Linux