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

Support 16 byte types in Simple8b

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-08-09

      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.

       

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

              Created:
              Updated:
              Resolved: