Skip to content

Eliminate caching variable#6

Merged
eendebakpt merged 1 commit intosingledispatchmethod3from
singledispatchmethod3b
Aug 1, 2023
Merged

Eliminate caching variable#6
eendebakpt merged 1 commit intosingledispatchmethod3from
singledispatchmethod3b

Conversation

@eendebakpt
Copy link
Copy Markdown
Owner

@eendebakpt eendebakpt commented Jul 31, 2023

Eliminate the caching variable and replace it with _all_weakrefable_instances

Copy link
Copy Markdown

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt there's a significant performance impact either way, but I agree that with the latest iteration of the PR, it's cleaner code to avoid setting this variable

@eendebakpt eendebakpt merged commit 307f0c1 into singledispatchmethod3 Aug 1, 2023
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.

2 participants