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

Value::coerceToString() shouldn't unconditionally construct a stringstream

    • Fully Compatible

      It is making $concat much slower than it should be even though the stringstream is never used in that case. Just constructing and destructing it is extremely expensive.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: