StringData(ptr, length) invariant should only be checked in debug builds

XMLWordPrintableJSON

    • Service Arch 2022-2-21, Service Arch 2022-03-07
    • 135
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      StringData is supposed to be a "free" type. That invariant leads to the constructor being called out of line and all of the overhead involved in that. It was lighting up over 2% in one profile.

            Assignee:
            Matt Diener (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: