[SERVER-85367] Remove traverse_F calls in type checker if the argument is not an array Created: 18/Jan/24 Updated: 26/Jan/24 Resolved: 25/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Alberto Massari | Assignee: | Alberto Massari |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | auto-reverted | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | QE 2024-01-22, QE 2024-02-05 | ||||
| Participants: | |||||
| Linked BF Score: | 35 | ||||
| Description |
|
When we have an expression
where the s9 argument is typed as not being an array value, the code is equivalent to directly invoke the lambda, so we can remove it from the code |
| Comments |
| Comment by Githook User [ 25/Jan/24 ] |
|
Author: {'name': 'Alberto Massari', 'email': 'alberto.massari@mongodb.com', 'username': 'albymassari'}Message: GitOrigin-RevId: af8bc4379386f832db004a4a63e88e3d316ed4cb |
| Comment by Githook User [ 24/Jan/24 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit 55d3e987c5e04d17ba341643d87c75aea5f9fc83. GitOrigin-RevId: 0201ecc4026aae6048609a1fdff5305cbbd7c136 |
| Comment by Githook User [ 23/Jan/24 ] |
|
Author: {'name': 'Alberto Massari', 'email': 'alberto.massari@mongodb.com', 'username': 'albymassari'}Message: GitOrigin-RevId: 55d3e987c5e04d17ba341643d87c75aea5f9fc83 |