Avoid strings allocations in tenantless ResourcePattern

XMLWordPrintableJSON

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

      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
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: