-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Cache mapper instantiations #61505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jakebailey
merged 13 commits into
microsoft:main
from
Andarist:cache-mapper-instaniations
Jun 6, 2025
+5,474
−81
Merged
Cache mapper instantiations #61505
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e337be1
Cache instantiated object alias type arguments on mapper
Andarist cb3b721
Move the cache to `instantiateTypeWithAlias`
Andarist 6d4258b
disable cache on function mappers
Andarist f07db72
tweak cache key
Andarist e2e7091
add sanity checks
Andarist b0f5c70
only disable cache on certain `makeFunctionTypeMapper`s
Andarist 31925e7
fmt
Andarist a040139
fix an instance of reusing bad cached value
Andarist 22520da
relax `restrictiveMapper` caching restriction
Andarist 051c8bd
replace `voidMap` with `emptyMap`
Andarist a6a728f
fmt
Andarist 82666d1
Cache repeated mapper instantiations only within a single instantiati…
Andarist 5319b0d
clear caches after each inference
Andarist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
only disable cache on certain
makeFunctionTypeMappers
- Loading branch information
commit b0f5c703072ab9ea97d73176f379014e2e28048d
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.