Remove performance destroying wildcards
I spent a few days tracking down why every single style in widget-factory gets recreated when I move the mouse in or out of the window.
The answer is
*:disabled { }
*:link { }
These wildcards make it so that every widget thinks it needs to rebuild its style when the state of a parent widget changes.
Removing just these two rules makes GTK do a lot less work on state changes.
I would suggest to replace '*' here with lists of names for the places we actually want to be affected by this.