Open Bug 1940579 Opened 1 month ago Updated 1 month ago

Reduce 'JSON.parse with source' memory use

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: bthrall, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Currently, when parsing JSON with the JSONReviveHandler, we store a ParseRecordObject and also a stack of JSObject for keeping track of object and array members during parsing.

We should be able to just use the ParseRecordObject to keep track of the members, avoiding the need for the extra JSObject and reducing the total memory needed by the parse.

Keywords: good-first-bug
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.