-
Notifications
You must be signed in to change notification settings - Fork 47.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fresh] Reset useMemoCache when size changes
During development when adding or removing code, it is common for the cache size to vary between refreshes. Rather than warn like before, let's simply and safely reset the cache completely whenever its size changes between renders. In practice, in non-development environments full invalidation should never happen since the only consumer of uMC is compiled code – which always emits a static call to uMC with a fixed size. ghstack-source-id: 48c5b9c848a0b9ed01576ad357e067b72e8f887f Pull Request resolved: #30663
- Loading branch information
Showing
3 changed files
with
47 additions
and
7 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