Improve hashing for large magnitude NumberLongs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: