Bug 274433

Summary: PublicSuffixStore::platformTopPrivatelyControlledDomain() should take in a StringView
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2024-05-20 19:54:14 PDT
PublicSuffixStore::platformTopPrivatelyControlledDomain() should take in a StringView instead of a String. It keeps calling substring(), which is a lot more efficient on a StringView than a String.
Attachments
Chris Dumez
Comment 1 2024-05-20 19:55:42 PDT
EWS
Comment 2 2024-05-20 22:44:00 PDT
Committed 279035@main (9dce2ade92d5): <https://commits.webkit.org/279035@main> Reviewed commits have been landed. Closing PR #28821 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.