Improve memory layout of NamespaceStringOrUUID

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • Server Serverless 2023-05-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The layout of NamespaceStringOrUUID is composed of many boost::optional s, as well as one unused boolean, adding up to a 102 byte width. Considering how often this type is used in the server, reducing its width to something that can fit on a cache line should improve overall performance.

              Assignee:
              Matt Broadstone
              Reporter:
              Matt Broadstone
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: