Introduce view types for DatabaseName

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Service Arch 2023-11-27, Service Arch 2023-12-11, Service Arch 2023-12-25, Service Arch 2024-01-08, Service Arch 2024-01-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have recently made changes to prefer DatabaseName over std::string when referring to databases throughout the codebase, which has in some cases introduced new allocations. We should introduce a new DatabaseNameView type, mirroring the optimization of using StringData when database names were passed as std::string.

              Assignee:
              Didier Nadeau
              Reporter:
              Matt Broadstone
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: