-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use ConsecutiveStringStorage to dedup serialized literals
Summary: Serialized literals de-duping was quadratic with the total size of the literals because it performed a linear search when adding every literal. We can use ConsecutiveStringStorage (with small modifications) instead to dedup the literals with much better performance. To that end, we need an additional pass over the LIR to collect all literals, dedup them, and remember their dedupped offsets. Reviewed By: tmikov Differential Revision: D18056232 fbshipit-source-id: 14df6f5c6868339dcb11a663ab2132916bf992f1
- Loading branch information
Michael Anthony Leon
authored and
Riccardo Cipolleschi
committed
Mar 7, 2023
1 parent
1eb8f7e
commit 62d58e5
Showing
14 changed files
with
497 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.