-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialize tree structure in file map cache (#1006)
Summary: Pull Request resolved: #1006 Serialise `metro-file-map`'s `TreeFS` by cloning the tree, instead of converting to and from a flat `Map`. - Cache `fileSystemData` is now fully cross-platform (it contains no path separators). - Serialised data is now a closer match with the internal representation. The new structure is as fast to write, faster to read, and smaller. Changelog: ``` - **[Performance]**: Improved startup speed via a new file map cache format. ``` Reviewed By: motiz88 Differential Revision: D46598820 fbshipit-source-id: c6ab0cf33e28e7dcb2e7c3896676b2104b8808b5
- Loading branch information
1 parent
9b9711c
commit 166477e
Showing
4 changed files
with
110 additions
and
73 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