Skip to content
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

AbstractContentManager - Cleanup #156

Merged
merged 1 commit into from
Jul 13, 2024
Merged

AbstractContentManager - Cleanup #156

merged 1 commit into from
Jul 13, 2024

Conversation

mbaker3
Copy link
Member

@mbaker3 mbaker3 commented Jul 12, 2024

Make use of Dictionary<,>.TryGetValue in AbstractContentManager

What is the current behaviour?

There are a bunch of instances where we're checking if a key is contained in the group lookup and then fetching it manually.

What is the new behaviour?

Leveraging Dictionary<,>.TryGetValue accomplishes the same quicker and faster.

What issues does this resolve?

  • None

What PRs does this depend on?

  • None

Does this introduce a breaking change?

  • Yes
  • No

Make use of Dictionary<,>.TryGetValue
@jkeon jkeon self-assigned this Jul 12, 2024
Copy link
Member

@jkeon jkeon left a comment

Choose a reason for hiding this comment

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

Good change!

@mbaker3 mbaker3 merged commit 8533a86 into main Jul 13, 2024
5 checks passed
@mbaker3 mbaker3 deleted the content-manager-tryget branch July 13, 2024 18:26
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