Bug 222767 - Make RegistrableDomain() private constructor take the String as an rvalue reference
Summary: Make RegistrableDomain() private constructor take the String as an rvalue ref...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-04 16:13 PST by Chris Dumez
Modified: 2021-03-04 20:37 PST (History)
5 users (show)

See Also:


Attachments
Patch (2.38 KB, patch)
2021-03-04 16:14 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-03-04 16:13:06 PST
Mak RegistrableDomain() private constructor take the String as an rvalue reference. Most call sites have an rvalue reference and it reduces ref counting churn this way.
Comment 1 Chris Dumez 2021-03-04 16:14:43 PST
Created attachment 422306 [details]
Patch
Comment 2 EWS 2021-03-04 20:36:18 PST
Committed r273944: <https://commits.webkit.org/r273944>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 422306 [details].
Comment 3 Radar WebKit Bug Importer 2021-03-04 20:37:15 PST
<rdar://problem/75075378>