Bug 253730 - Use the initializer list to initialize String::m_impl
Summary: Use the initializer list to initialize String::m_impl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-10 13:09 PST by Chris Dumez
Modified: 2023-03-10 14:52 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-03-10 13:09:04 PST
Use the initializer list to initialize String::m_impl, instead of doing it in the constructor's body. This should be slightly more efficient.
Comment 1 Chris Dumez 2023-03-10 13:10:58 PST
Pull request: https://github.com/WebKit/WebKit/pull/11379
Comment 2 EWS 2023-03-10 14:51:21 PST
Committed 261530@main (c0b2534060e4): <https://commits.webkit.org/261530@main>

Reviewed commits have been landed. Closing PR #11379 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-10 14:52:17 PST
<rdar://problem/106573875>