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

Avoid strings allocations in tenantless ResourcePattern

    • Server Security
    • Fully Compatible
    • v8.0
    • Security 2024-04-15, Security 2024-04-29
    • 35

      ResoucePattern constructor with a tenant allocates a string even if the tenant is unset. We can avoid some cpu cycles by using NameSpaceString::kEmpty in this case.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: