Free The (Crispy) Bits!

Recently I've been joining the memory reduction mission in a hard-core stylee, by poking at the lower libraries in the GNOME stack.

A few partial patches to Pango were submitted which chipped away at the non-constant data bit by bit, before Owen decided to knock the wall down and do a comprehensive review, saving 12K per process.

Fontconfig is an interesting program to work on, and during the hacking it is quite easy to end up with a Fontconfig which doesn't think there are any fonts, or more amusingly gives you Isabella or Mistral when asked for Vera. However, I did eventually fix these bugs and now Fontconfig patterns (the core data type) use less memory and are a lot faster. Excellent stuff, but Fontconfig is still allocating a lot of memory when there are many fonts (fc-list | wc -l says 435 faces on my desktop), which Pango then copies for some reason (probably a sensible one but what do I know).

Of course, working on this more will have to wait until I get back from India...

20:17 Monday, 07 Mar 2005 [#] [computers] (3 comments)

Posted by ravi at Tue Mar 8 03:48:37 2005:
Hey!
Coming to Mysore?
Posted by Ross at Tue Mar 8 08:39:59 2005:
Nope, sorry: Delhi, Agra, Jaipur, Samode and a trip to Nepal, IIRC.
Posted by hopey at Fri Mar 18 08:33:35 2005:
I just spent month in India. It is bit different than Finland, which is for example one of most cleanest countries in the world, something that Delhi certainly isn't. One stomach flue at Delhi, then by train to Goa. One stomach flue at Goa and few nights in hospital at Mapusa and back to Delhi. It was interesting and different. Fun too at times...

Name:


E-mail:


URL:


Add 9 and 9 (required):


Comment: