-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ModuleMetadata parse args and returns lazily (#30589)
Some function have enormous arg validators, which can take a while to parse. And we parse these whenever we look up a ModuleMetadata, which happens whenever the module gets imported by another module. Avoid bad performance on imports by leaving the arg and return validators as unparsed JSON strings. GitOrigin-RevId: 8b503b565db8ea38cb9be4b927025baf13607873
- Loading branch information
Showing
6 changed files
with
190 additions
and
155 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
Oops, something went wrong.