03 Aug 2006

9:13 pm General

libxklavier

After some interesting time with libxml2, I managed to optimize loading of base.xml (AKA xorg.xml). Custom SAX2 handler (derived from the standard one, building full DOM) ignores all unneeded translations – so gnome-settings-daemon’s heap grows on ~500K only (was ~4M). This effect will be even more dramatic as more translations are available in that file.

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.