[SERVER-68792] Refactor iterating over cell values from CheckFilter into a CellValueIterator Created: 12/Aug/22 Updated: 29/Oct/23 Resolved: 23/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 |
| Participants: |
| Description |
|
For per-path filters we need to be able to iterate over cell values and distinguish whether the values are in nested arrays or not. Currently this logic is implemented insideĀ There are also several optimizations we could make to the zig-zag scan that can happen under this ticket. |
| Comments |
| Comment by Githook User [ 23/Sep/22 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}Message: |
| Comment by Justin Seyster [ 26/Aug/22 ] |
|
irina.yatsenko@mongodb.com I prototyped the optimization suggested here, because the inArray stack showed up hot in a query I was profiling. I got a respectable 6% improvement for that query. |