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

Do not use std::unique_ptr to store and pass PlanRankingDecision

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution

      This class doesn't have any virtual methods, so it should be just passed as-is and have copy and move constructors, instead of clone() method.
      That should reduce memory allocations and improve memory locality.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: