-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JIT] Use type cache in erasing shape information (#55828)
Summary: `unshapedType` can be very slow on a graph with many modules and recursively contained classes, because each Type you have to recursively descend and map over. Speed it up with a type cache. Pull Request resolved: #55828 Reviewed By: ngimel Differential Revision: D27717995 Pulled By: eellison fbshipit-source-id: f1d502bef0356e78100c27bf00f6caf08a75d68c
- Loading branch information
1 parent
8f953ef
commit bbdb37b
Showing
2 changed files
with
51 additions
and
9 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