- Not very surprisingly, replacing horizontal and vertical lines with rectangles doesn’t speed things up detectably. (There once were systems where this made a difference, but I think GTK is probably clever enough that this doesn’t matter.)
- More interestingly, plotting the title to a monochrome bitmap, and then setting that bitmap as a stipple and drawing a filled rectangle instead of drawing the title also does not speed things up detectably. I thought avoiding a Pango hit for some common themes which plot the title more than once might make a difference. (Human plots the title of the active window four times, for example, and is the slowest common theme.)
(I am working on things other than this sort of thing, it’s just that this is producing results which are interesting to talk about and other bugs and problems aren’t so much.)
Photo © kagey_b, cc-by-nc-nd.