[webkit-changes] [WebKit/WebKit] d495e5: Add VectorTraits for StringView and StringViewWith...

Chris Dumez noreply at github.com
Sun Mar 26 11:36:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d495e50773bf6906e72e0aefe7b2b6753757ce18
      https://github.com/WebKit/WebKit/commit/d495e50773bf6906e72e0aefe7b2b6753757ce18
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-26 (Sun, 26 Mar 2023)

  Changed paths:
    M Source/WTF/wtf/text/StringView.h

  Log Message:
  -----------
  Add VectorTraits for StringView and StringViewWithUnderlyingString
https://bugs.webkit.org/show_bug.cgi?id=254469

Reviewed by Darin Adler.

Add VectorTraits for StringView and StringViewWithUnderlyingString so that
Vector can deal with these types more efficiently.

JSStringJoiner - for example - uses a Vector<StringViewWithUnderlyingString>.

* Source/WTF/wtf/text/StringView.h:

Canonical link: https://commits.webkit.org/262128@main




More information about the webkit-changes mailing list