[SERVER-84344] Speed up decodeRecordIdLong Created: 20/Dec/23  Updated: 09/Jan/24  Resolved: 09/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
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 2023-12-25, Execution Team 2024-01-08, Execution Team 2024-01-22
Participants:

 Description   

Calling readType multiple times appears to be inefficient. We can speed this up a bit by validating the size and looking at pointers directly.



 Comments   
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Louis Williams', 'email': 'louiswilliams@users.noreply.github.com', 'username': 'louiswilliams'}

Message: SERVER-84344 Faster RecordId decoding (#17720)

GitOrigin-RevId: 62d6efd3923ee06c4d7ae68e2d02380d80dbae86
Branch: master
https://github.com/mongodb/mongo/commit/3749924d3586f8eb7c4378a1bf7bc20aace5b55d

Generated at Thu Feb 08 06:54:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.