[SERVER-84262] Make query settings lookup method be a templated method Created: 17/Dec/23  Updated: 04/Jan/24  Resolved: 04/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Denis Grebennicov Assignee: Denis Grebennicov
Resolution: Fixed Votes: 0
Labels: M3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2023-12-25, QE 2024-01-08
Participants:

 Comments   
Comment by Githook User [ 04/Jan/24 ]

Author:

{'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}

Message: SERVER-84262 Make query settings lookup method be a templated method (#17652)

This patch makes query settings lookup a templated method, which
provides additional performance as no closures are being created (before
we had closure inside a closure) and provides additional inlining
opportunities since it generates dedicated methods for find, agg (and in
the future distinct and other commands) lookup at compile time.

GitOrigin-RevId: f05cd1974cefdc67c43146cd2ef0e1d02defebff
Branch: master
https://github.com/mongodb/mongo/commit/253514e395628e4c405869bc048819b3602cfc51

Generated at Thu Feb 08 06:54:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.