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

Don't construct unused error Status in MultiIndexBlock::insert

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2019-08-26

      Constructing this unused status is really expensive, because it's marked cold, and ends up messing with branch prediction. We should just construct a Status::OK.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: