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

Support 16 byte types in Simple8b

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2021-08-09

      Description

      Add support for storing 16 byte types in Simple8b. For this to work we need to have enough leading and/or trailing zeros to be able to fit the value in our Simple8b buckets.

      We want to generalize the Simple8b class by making it a template with the two supported combinations being uint64_t and uint128_t.

      Integrate uint128_t from boost multiprecision (cpp_int backend). We also need to make functions that can calculate leading and trailing zeros on this type.

       

        Attachments

          Activity

            People

            Assignee:
            luke.bhan Luke Bhan (Inactive)
            Reporter:
            henrik.edin Henrik Edin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: