Bug 254341

Summary: Improve build speed by limiting WTFString includes
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2023-03-23 09:57:31 PDT
WTFString is one of the more costly headers to parse, and is included hundreds of times across the build. In most cases, we can simply use the Forward.h header, and only include the actual class definition in files that need to know the details of the class. This patch switches to Forward.h in header files that are currently including WTFString.h. While I removed other includes in files that I was changing WTFString.h -> Forward.h, I did not attempt to reduce includes of other items outside of those files.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-23 09:58:12 PDT
Note You need to log in before you can comment on or make changes to this bug.