Skip to content

Don't materialize a dict in MappingProxy.TryGetValue - #2107

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
slozier:mappingproxy
Oct 21, 2026
Merged

slozier merged 1 commit into
IronLanguages:mainfrom
slozier:mappingproxy

Conversation

@slozier

@slozier slozier commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Don't materialize a dict in MappingProxy.TryGetValue which should help with overall performance. Also handles str subclasses in the lookup.

@slozier
slozier merged commit 8ba9450 into IronLanguages:main Oct 21, 2026
55 of 56 checks passed
@slozier
slozier deleted the mappingproxy branch October 21, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant