Skip to content

Skip pattern maching for empty sets#258

Merged
niemyjski merged 4 commits intoexceptionless:masterfrom
benaadams:Empty-pattern-macthing
Dec 30, 2021
Merged

Skip pattern maching for empty sets#258
niemyjski merged 4 commits intoexceptionless:masterfrom
benaadams:Empty-pattern-macthing

Conversation

@benaadams
Copy link
Copy Markdown
Contributor

Gets called a lot with empty sets so can skip that and the HashSet creation and use string[] directly

@benaadams benaadams marked this pull request as draft May 10, 2021 04:29
@benaadams benaadams marked this pull request as ready for review May 10, 2021 04:39
Copy link
Copy Markdown
Member

@niemyjski niemyjski left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Not sure why I never got notified for this until now. These changes look good to me.

@niemyjski niemyjski merged commit e8efdf9 into exceptionless:master Dec 30, 2021
@benaadams benaadams deleted the Empty-pattern-macthing branch December 30, 2021 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants