[webkit-dev] Compile times and class-scoped enums

Darin Adler darin at apple.com
Fri Jan 20 17:08:10 PST 2023


> On Jan 20, 2023, at 9:50 AM, Jer Noble via webkit-dev <webkit-dev at lists.webkit.org> wrote:
> 
> I attempted to address this in <https://github.com/WebKit/WebKit/pull/8867>, which (on this machine) reduces the total compile time of Document.h in the WebCore project from about 1000s to about 200s.

That’s good.

> However, this change requires moving class-scoped enums out into the namespace scope.

Seems worthwhile. Doesn’t seem to me like it would have far reaching effects.

— Darin


More information about the webkit-dev mailing list