Skip to content

Optimization: Use ValueTuple<> instead of Tuple<> in ToDictionaryAsync() - #505

Merged
SergeiPavlov merged 5 commits into
master-servicetitanfrom
TupleCreateMethod
Aug 12, 2026
Merged

Optimization: Use ValueTuple<> instead of Tuple<> in ToDictionaryAsync()#505
SergeiPavlov merged 5 commits into
master-servicetitanfrom
TupleCreateMethod

Conversation

@SergeiPavlov

Copy link
Copy Markdown
Collaborator

To save allocations

Also:

  • The same for .ToLookupAsync()
  • Extract common parts of these extensions into separate method

@SergeiPavlov SergeiPavlov changed the title Optimization: Use ValueTuple instead of Tuple<> in ToDictionaryAsync() Optimization: Use ValueTuple<> instead of Tuple<> in ToDictionaryAsync() Aug 12, 2026
@SergeiPavlov
SergeiPavlov requested a review from botinko August 12, 2026 18:45
Comment thread Orm/Xtensive.Orm/Orm/QueryableExtensions.Async.cs Outdated
@SergeiPavlov
SergeiPavlov requested a review from botinko August 12, 2026 20:48
@SergeiPavlov
SergeiPavlov merged commit 05c6cf3 into master-servicetitan Aug 12, 2026
61 checks passed
@SergeiPavlov
SergeiPavlov deleted the TupleCreateMethod branch August 12, 2026 21:22
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