Skip to content
  • Benjamin Otte's avatar
    cssprovider: Cache if rulesets have inheritable style properties · 8111d991
    Benjamin Otte authored
    This provides a huge speedup as we only need to preprocess style
    properties when they are indeed inherited. This roughly doubles the
    performance of the CSS matcher and brings the time taken by
    gtk_css_provider_get_style() from 19% to 7% in my favorite benchmark.
    8111d991