Remove unnecessary allocations from HostAndPort constructors / errors

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some of the HostAndPort constructors or error messages unnecessarily allocate intermediate strings, when other strategies could be used instead to move already-allocated strings from the caller, or use StringData throughout the call stack.

            Assignee:
            Alexander Ambrose
            Reporter:
            Alexander Ambrose
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: