Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79068

Investigate performance impact of BSONObj::redact

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

      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@mongodb.com Naama Bareket
            Reporter:
            william.qian@mongodb.com William Qian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: