Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22839

Replace the hashing function for StringData

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 3.3.2
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Sprint:
      Dev Tools 2019-09-09

      Description

      StringData uses murmurhash for it's hashing function. On 32 bit systems it returns a little endian decoded uint32_t of the 32 bit hash output. On 64 bit systems it returns a little endian decoded uint64_t of the 128 bit hash output.

      We should pick something better than murmur, cityhash perhaps (then we could pick something better and stop generating 128 bits of hash only to throw half of it away)

        Attachments

          Activity

            People

            Assignee:
            billy.donahue Billy Donahue
            Reporter:
            jason.carey Jason Carey
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: