Skip to content

Conversation

@AlexUstinov
Copy link
Contributor

In this PR several scopes are converted to readonly ref structs to make sure no heap allocation happens in those cases.

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.

Since there will be new commits, please update copyright of the changed files

@alex-kulakov alex-kulakov merged commit a4fff45 into DataObjects-NET:master Aug 7, 2020
@AlexUstinov AlexUstinov deleted the allocation-free-scopes branch August 8, 2020 00:54
alex-kulakov pushed a commit that referenced this pull request Nov 24, 2021
* Refactor & optimize ProjectionExpression, TranslatedQuery

* EOL at EOF

* Fix Translator.TranslateMethod

* Get rid of Translator.TranslateMethod because we need not it for non-generic method

* Rename ProjectionExpression.Select() -> .Apply()

* Avoid list allocation when calling Translator.Translate()
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