[Webkit-unassigned] [Bug 192813] New: Use idiomatic const references for equality methods in WTF::StringView class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 18 10:51:29 PST 2018


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

            Bug ID: 192813
           Summary: Use idiomatic const references for equality methods in
                    WTF::StringView class
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: achristensen at apple.com, darin at apple.com,
                    dbates at webkit.org

Use idiomatic const references for equality methods in WTF::StringView class.

Nearly all other `operator==(const TypeName&) const` methods use const references to avoid object copies when comparing two objects.

StringView should do the same (unless I'm forgetting why it's not doing this).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181218/3cd199ca/attachment.html>


More information about the webkit-unassigned mailing list