[SERVER-70017] Do not parse array info for cells that don't have doubly-nested arrays Created: 27/Sep/22 Updated: 29/Oct/23 Resolved: 30/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Irina Yatsenko (Inactive) | Assignee: | Irina Yatsenko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QE 2022-10-03, QE 2022-10-17 |
| Participants: |
| Description |
|
While it's functionally correct to use CursorWithArrayDepth on all kinds of cells, for cells that are known not to have doubly-nested arrays it's unnecessary to parse the array-info because all cell values are at level 0 anyway. Investigate the actual perf difference between the two cursors and replace CursorWithArrayDepth with a simple Cursor if warranted. |
| Comments |
| Comment by Githook User [ 28/Sep/22 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}Message: |