Implement XDRAtom deduplication
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
People
(Reporter: caroline, Assigned: caroline)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Implementation of atom deduplication in XDR using a hashmap that, lives in XDRIncrementalEncoder, in XDRAtom to compare already existing atoms with what would have previously been written straight to the XDRBuffer. Instead the new atoms will be written to a separate buffer containing only unique atoms. Every atom will map to an index and in the bytecode this index will be written out.
Inside the XDRBuffer the separate atom buffer will be written for decoding first, before the rest of the bytecode, to build up an atom table for the rest of the bytecode to use to decode its atoms. The bytecode, when an atom index is seen, will look into the decoded atom table using that same index and retrieve the original atom. Thus, removing the need to have the same atom written to the XDRBuffer multiple times.
Comment 1•5 years ago
|
||
Can you please move this to the correct component? I don't think Microsoft COM is applicable here. Thanks!
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by iireland@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82ccb8ce8688 Deduplicate atoms in xdr buffer. r=iain
Comment 4•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•