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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107140117>