Skip to content

Conversation

@AlexUstinov
Copy link
Contributor

This pull request removes unnecessary memory allocations as well as few cases of double processing.

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.

Hello. The PR is mostly is OK. Please take a look at the comments I left. And also it has a weird change of Orm/Xtensive.Orm/Orm/Providers/SqlCompiler.cs - somehow it became changed entirely at the commit ec74285

@alex-kulakov alex-kulakov merged commit eb5e356 into DataObjects-NET:master May 29, 2020
@alex-kulakov
Copy link
Contributor

Thank you for corrections. PR is merged.

@AlexUstinov AlexUstinov deleted the sqlxxx-improvements branch June 9, 2020 18:40
alex-kulakov pushed a commit that referenced this pull request Aug 24, 2021
…st instead of ReadOnlyList to save allocations (#32)

* Optimizations: allocate List<> with known capacity; use IReadOnlyList instead of ReadOnlyList

* Optimize hot paths: replace LINQ by foreach
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