Bug 213498

Summary: We should have a JSON.parse bytecode
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Keith Miller
Reported 2020-06-22 19:02:51 PDT
If a script has a very large JSON payload we currently allocate bytecode to initialize the object proportionally to the size of the object. This is very inefficient since most JSON massive objects are only initialized once. Instead, we should have a bytecode that takes a source position to parse as JSON.
Attachments
Note You need to log in before you can comment on or make changes to this bug.