[SERVER-56717] Use faster value comparison for Timeseries MinMax store Created: 06/May/21 Updated: 29/Oct/23 Resolved: 25/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Alison Lu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Execution Team 2021-06-28, Execution Team 2021-07-12 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Right now the comparison is using three way comparison with the spaceship operator. It is also handling comparisons where the types are different requiring more branches in the comparison code. We should utilize the fact that we've already compared the types and just need a simple less or more compare. |
| Comments |
| Comment by Githook User [ 25/Jun/21 ] |
|
Author: {'name': 'Alison Lu', 'email': 'alison.lu@mongodb.com'}Message: |
| Comment by Githook User [ 25/Jun/21 ] |
|
Author: {'name': 'Alison Lu', 'email': 'alison.lu@mongodb.com'}Message: |
| Comment by Githook User [ 25/Jun/21 ] |
|
Author: {'name': 'Alison Lu', 'email': 'alison.lu@mongodb.com'}Message: |