Skip to content

Conversation

@AlexUstinov
Copy link
Contributor

A bunch of performance improvements for XxxExpression types. These improvements mostly related to memory allocation. We avoiding closure allocation in several cases plus we pre-allocate Lists when eventual length is known. Additionally on critical paths we use StringComparison.Ordinal.
The rest of the changes is code formatting improvements.

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.

Almost everything is ok. Several changes need to be corrected though.

@AlexUstinov
Copy link
Contributor Author

@alex-kulakov please see new commit with formatting changes.

@alex-kulakov alex-kulakov merged commit 48c81bd into DataObjects-NET:master Aug 7, 2020
@AlexUstinov AlexUstinov deleted the expression-performance branch August 8, 2020 00:54
alex-kulakov pushed a commit that referenced this pull request Oct 25, 2021
* Optimizing refactoring: make TranslatorState struct

* Use 'in' modifier with TranslatorState passing

* Use 'in' modifier in TranslatorState constructor
alex-kulakov added a commit that referenced this pull request Oct 25, 2021
…rState

Optimizing refactoring: make TranslatorState struct (#41)
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