Skip to content
  • Milian Wolff's avatar
    Optimize: Cache string keys used for attribute lookup. · 19160988
    Milian Wolff authored
    The string literal will otherwise be transformed into a QString,
    which requires two allocations (QString's data and the actual
    QChar* array in there). Saving this gives a noticeable boost, esp.
    considering how often these methods are being called during painting.
    
    CCBUG: 307632
    19160988