[SERVER-85555] CanonicalQuery should return NameSpaceString as const ref Created: 22/Jan/24 Updated: 01/Feb/24 |
|
| Status: | Needs Scheduling |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Boros | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
CanonicalQuery::nss() returns the NSS as a value when it could return a const ref. This function is used all over query optimization code so let's change it to avoid unnecessary copies. |