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

Compute decoration buffer alignment requirement iteratively

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Workload Scheduling 2024-07-08
    • 200

      Today, when we construct a decorated object, we iterate through all of the decorations to find the largest alignment requirement, which we need to correctly allocate the decoration buffer in an alignment aware way.
      Instead, we could track the maximum alignment requirement of decorations as they are registered, saving time on the constructor hot-path.

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: