Investigate performance impact of BSONObj::redact

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BSONObj::redact contains many branches and an unusual idiom of creating a function-scope struct instead of using a lambda. If this ends up on the hot path, its performance can be possibly optimized by using templates and cheaper function constructs.

              Assignee:
              Naama Bareket
              Reporter:
              William Qian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: