Closed Bug 842731 Opened 11 years ago Closed 11 years ago

[meta] Provide a way to transmit large JSON objects across workers without janking

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 873293

People

(Reporter: Yoric, Unassigned)

Details

In some circumstances, we have to deal with huge JSON objects (up to 50Mb) that we wish to transmit to workers prior to writing them to disk. Unfortunately, that's pretty large and probably not feasible without jank for the time being (no benchmarks so far).

Opening this bug to track ideas on the topic.
A conversation with jorendorff seems to indicate the following avenues:
- provide some mechanism of "prepared statements" that can be used for efficient (de)serialization;
- publish the low-level serialization API to JavaScript.
Flags: needinfo?(jorendorff)
Flags: needinfo?(jorendorff)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.