Bug 211208
Summary: | make_names.pl should accept another file which just generates misc names additionally | ||
---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
Component: | DOM | Assignee: | Yusuke Suzuki <ysuzuki> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Yusuke Suzuki
There are so many adhoc `static NeverDestroyed<const AtomString> ...` things in WebCore code and sometimes we are doing `AtomString { ..., AtomString::CreateFromLiteral }` in a critical path.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Yusuke Suzuki
After considering about this, I'm currently not sure whether this is better. Since NeverDestroyed<AtomString> can lazily initialize it, (maybe does not matter much).
Yusuke Suzuki
I have a patch for this, but I'll first do a simpler one, use NeverDestroyed<AtomString> instead of constructing AtomString every time.