[Webkit-unassigned] [Bug 46066] New: SVG: Optimize stringToLengthType()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 19 17:39:04 PDT 2010


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

           Summary: SVG: Optimize stringToLengthType()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Performance
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com
                CC: zimmermann at kde.org, krit at webkit.org


stringToLengthType() in SVGLength.cpp is currently testing String::endsWith("foo") which causes temporary WTF::Strings to be created.

We can easily hand-compare the characters to speed up this function.

-- 
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