[Webkit-unassigned] [Bug 93731] New: Use static AtomicString's for http header keys and values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 11:37:42 PDT 2012


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

           Summary: Use static AtomicString's for http header keys and
                    values
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yoli at rim.com


Eevery call to m_httpHeaderFields.contains(<const c string>) constructs a new WTF::String, and calculate its hash again. 

This can be avoided by using static Strings.

I have a patch for it. I haven't been able to tell how much it helps, but theoretically it saves CPU time on string constructing and hashing...

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