Move absl::HashOf() off the hot path where it is only used for error messages

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Noticed while investigating some performance changes caused by SERVER-79736 with erin.zhu@mongodb.com, we noticed that this local variable is only used in the catch block, so should be moved there.

      It didn't seem to make much of a performance difference, but would be good to do anyway for clarity.

              Assignee:
              Charlie Swanson
              Reporter:
              Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: