diff options
author | David Storch <david.storch@mongodb.com> | 2019-11-26 19:54:39 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-26 19:54:39 +0000 |
commit | 058c4e3bbf94aa2ed1148dd0e8e473be6fcaa48b (patch) | |
tree | d292327f61eaee9f9c487162516d89c6ebc1a70c /src/mongo/db/namespace_string.cpp | |
parent | 2b70f6f0d7cf33dd387b50141992362fc4e2fcf8 (diff) | |
download | mongo-058c4e3bbf94aa2ed1148dd0e8e473be6fcaa48b.tar.gz |
SERVER-15200 Optimize projection to occur before sort when possible.
When the projection is statically known to reduce the size
of the data (i.e. when the projection does not add any newly
computed fields), then evaluating the projection first is
beneficial because it reduces the size of the data which
must be sorted.
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
0 files changed, 0 insertions, 0 deletions