[Webkit-unassigned] [Bug 46044] New: Gradient: Pre-reserve space for 2 color stops

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 18 17:05:45 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46044

           Summary: Gradient: Pre-reserve space for 2 color stops
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Performance
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com
                CC: oliver at apple.com


Most gradients have only 2 color stops. We can avoid growing the Vector<ColorStop> dynamically in the common case by using an inlineCapacity of 2.

This yields a 0.4% speedup on Parcycle <http://www.mrspeaker.net/dev/parcycle/>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list