-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cls_to_interdex_group state to ConfigFiles
Summary: To infer the interdex grouping of our mergeables, we first need to build a mapping from class to its betamap group id for classes listed in the betamap. We call that `cls_to_interdex_group`. The existing handling of building such map uses static state and is really dated. This change moves the ownership of `cls_to_interdex_group` to ConfigFiles. That gives us a global "singleton" state that's nicely encapsulated in ConfigFiles. So that Class Merging doesn't need to worry about its detail and can just acquire it when needed lazily. Reviewed By: NTillmann Differential Revision: D48812676 fbshipit-source-id: 58aa1bb6f2aa7b45cd1fbc69749e43597ebf8027
- Loading branch information
1 parent
3ad2b15
commit c0755f6
Showing
5 changed files
with
74 additions
and
75 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