[Fontconfig] commit: drastic fontconfig speedups

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

 



On Sun, 2005-11-27 at 20:48 -0500, Patrick Lam wrote:
> Hi all,
> 
> The folks at SuSE have been profiling and contributing a number of
> performance patches for fontconfig, which I've all reviewed and
> committed.  The most recent one is for FcFontSetMatch, which they report
> gives a 3.5x speedup in fontconfig; that patch rewrote the algorithm by
> inlining FcCompare and swapping the order of the loops, blocking fonts
> that were ineligible for being the best font.  So while both the old
> algorithm and the new algorithm are linear in the number of installed
> fonts, the new algorithm is much faster than the old algorithm by doing
> a lot less value list compares.
> 
> Lots of thanks to Dirk Mueller, Stephen Kulow and Michael Matz!
> 
> pat

Hmm, I might be missing something, but after updating today, my fc-list
does not list any fonts anymore. Maybe the optimization was a bit too
drastic...

Matthias


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

  Powered by Linux