Skip to content

Conversation

@SergeiPavlov
Copy link
Contributor

Avoid double lookup in Dictionary in following sequences:

  • ContainsKey(), []
  • ContainsKey(), Add()
  • ContainsKey(), Remove()

* Optimization: Convert ContainsKey/[] -> TryGetValue()

* small renaming

* Optimize CollectorHelper.GenericAliasColumns()

* Curly brackets; Refactor HintSet
Copy link
Contributor

@alex-kulakov alex-kulakov left a comment

Choose a reason for hiding this comment

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

Only cosmetic changes required. I suggested fixed for all of them.

SergeiPavlov and others added 4 commits October 21, 2021 11:41
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
…er.cs

Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
@alex-kulakov alex-kulakov merged commit 5a8b889 into DataObjects-NET:master Oct 25, 2021
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