FontConfig Hacking

Last night Keith Packard gave me commit access to fontconfig and I committed the first iteration of my patch, which reduces memory consumption and speeds up pattern matching by ensuring pattern keys are canonical. For my system, 25Kb was saved and strcmp called 25% less, which isn't bad for a patch which changes 6 lines.

The next step is to expand the scope of the patch to pattern values as well as keys. I have a working patch which reduces the memory footprint of fc-list by another 140Kb, but it's a little ugly at the moment.

NP: Buena Vista Social Club

09:40 Friday, 01 Apr 2005 [#] [computers] (2 comments)

Posted by Jon at Fri Apr 1 15:36:12 2005:
Yay! Keep up the good work. The day I can use GTK2 apps on my 450mhz computer is the day I buy you all a drink.
Posted by Ross at Fri Apr 1 16:12:26 2005:
Jon: when not on main my laptop runs at 466MHz, and it's all good.  I presume your machine also doesn't have lots of RAM, which is the problem (and the real goal of these fixes).

Name:


E-mail:


URL:


Add 6 and 1 (required):


Comment: