Skip to content

Conversation

@SergeiPavlov
Copy link
Collaborator

  • Avoid allocation empty HashSet<> just to enumerate them
  • Using TryGetValue() instead of double-lookup by Contains/this[].

@SergeiPavlov SergeiPavlov merged commit 3bcf789 into master-servicetitan Oct 6, 2021
@SergeiPavlov SergeiPavlov deleted the Optimize_TypeInfoCollection branch October 6, 2021 17:40
SergeiPavlov added a commit that referenced this pull request Nov 3, 2021
* Optimize TypeInfoCollection

* Small fix

* Refactor FindAncestor()
SergeiPavlov pushed a commit that referenced this pull request Nov 5, 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.

4 participants