[Webkit-unassigned] [Bug 206174] New: Calculate new PropertyList features during parsing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 13 06:28:18 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=206174
Bug ID: 206174
Summary: Calculate new PropertyList features during parsing
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Minor
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: caitp at igalia.com
Minor optimization requested in https://bugs.webkit.org/attachment.cgi?id=387361&action=review#line1046
It might be worthwhile to pre-calculate the result of 'shouldCreateLexicalSCopeForClass' and 'hasInstanceFields' during parsing, or otherwise cache the value after the first calculation.
Reasons for not doing this: it makes things like AST rewriting a bit more awkward and error prone (but, AST rewriting is not as common in JSC as in v8), and the hit from walking property list to determine these features might not be significant as they are not believed to be invoked frequently.
It warrants some investigation.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200113/01281644/attachment.htm>
More information about the webkit-unassigned
mailing list