The other day we had been looking some into Gtk+ startup time and found that adding lots of widgets to a window hierarchy in combination with extensive gtkrc file usage, can result in RC style matching showing up with significant figures in the profiles. The basic RC style match logic in Gtk+ already had been optimized a great extend in 1998, and with recent patches from Matthias Clasen, the complexity of wildcard string matches in GPatternSpec was furtherly reduced.
That’s as far as optimizing the code goes, however significant optimizations can also be gained from modifications to the set of RC style match rules in the gtkrc files. So in order to enable everyone to performance optimize their gtkrc file rules, we have compiled a list of optimization directives to apply to existing gtkrc files:
[Optimizing RC style matches in gtkrc files]
- This blog is mostly about technical stuff related to my projects.My homepage has contacts and a project list.
-
Blogroll
-
Categories
-
Recent Posts
-
Recent Comments
- Dave Miller on 20.10.2008 Bugzilla Utility buglist.py
- Mike on 20.10.2008 Bugzilla Utility buglist.py
- Artem on 09.09.2008 The Manju Project
-
Archives
- October 2008 (2)
- September 2008 (1)
- July 2008 (1)
- June 2008 (3)
- May 2008 (1)
- April 2008 (2)
- February 2008 (1)
- October 2007 (2)
- September 2007 (3)
- August 2007 (2)
- July 2007 (2)
- June 2007 (4)
- April 2007 (3)
- March 2007 (1)
- January 2007 (2)
- December 2006 (2)
- November 2006 (2)
- October 2006 (1)
- September 2006 (2)
- August 2006 (1)
- July 2006 (1)
- June 2006 (1)
- May 2006 (2)
- April 2006 (3)
- February 2006 (2)
- January 2006 (1)
- December 2005 (3)
- November 2005 (2)
- September 2005 (1)
- August 2005 (3)
- July 2005 (6)
- June 2005 (12)