[SERVER-16851] Improve hashing for large magnitude NumberLongs Created: 14/Jan/15  Updated: 04/Apr/16  Resolved: 04/Apr/16

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Currently all numbers are converted to doubles which is correct, but non-optimal for longs > 2**53.

To be clear, this is only about BSONElement::Hasher and Value::hash_combine and not for hashed indexes, since that is an on-disk change.


Generated at Thu Feb 08 03:42:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.