dotnet / dotnet/efcore

Query: recognize ValueTuple ctor as noop, equivalent to anonymous projection

Open
#30,020 0 comments 2 reactions 0 assignees View on GitHub
area-perf area-query
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Usually when we encounter class ctor in query we need to do client eval, because we don't know what client logic is executed in that ctor. However for ValueTuple we know there's nothing going on apart from assignment so we can safely treat it just like anonymous projection

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.