Bug 213498
Summary: | We should have a JSON.parse bytecode | ||
---|---|---|---|
Product: | WebKit | Reporter: | Keith Miller <keith_miller> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Keith Miller
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |