[SERVER-44101] Add a KeyString::Value::hash method and use it in validation Created: 18/Oct/19  Updated: 29/Oct/23  Resolved: 23/Oct/19

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Minor - P4
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-11-04
Participants:

 Description   

For validation, add and use a KeyString::Value::hash method, instead of adding separate calls to hash the KeyString part and the TypeBits part. This increases validation performance by 11%.



 Comments   
Comment by Githook User [ 22/Oct/19 ]

Author:

{'username': 'GeertBosch', 'email': 'geert.bosch@mongodb.com', 'name': 'Geert Bosch'}

Message: SERVER-44101 Add a KeyString::Value::hash method and use it in validation
Branch: master
https://github.com/mongodb/mongo/commit/0a5b8a92ed440f9dbc35d8e3d22cde43fab164f6

Generated at Thu Feb 08 05:05:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.