[BinAST] De-duplicate the info about atom
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
In context format, we have 2 places to store atoms, one is BinASTSourceMetadata
, and one is BinASTSymbol
in Huffman tables.
practically, we just don't need the former after creating the tables, so we can omit that part from metadata and instead store tables.
but might have to think about how XDR works.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
(In reply to Tooru Fujisawa [:arai] from comment #0)
practically, we just don't need the former after creating the tables, so we can omit that part from metadata and instead store tables.
this was wrong that table can contain same atom multiple times, and serializing/tracing them isn't efficient.
we should convert the table to point atom in the lists in metadata, instead of directly pointing the atom
Assignee | ||
Comment 2•6 years ago
|
||
To store dictionary to BinASTSourceMetadata, JSAtom* needs to be stored
in the single place.
Depends on D52028
Comment 4•6 years ago
|
||
bugherder |
Description
•