forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add chunk iterator for chrome_snapshot_parser
Summary: Most of the parsing of a chrome snapshot involves iterating over groups of numbers, and converting them into dicts. Simplify some of this by making a generator that yields things in chunks. Then use an iterator over that to find edges. Also, modify the root object in-place, which will leave unvisited things still displayed in the final snapshot. Reviewed By: neildhar Differential Revision: D23788741 fbshipit-source-id: 08edec05c126db5f3e228cdf9ade307d0b596d5f
- Loading branch information
1 parent
a691fbe
commit bbc0abb
Showing
1 changed file
with
26 additions
and
30 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