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

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

    XMLWordPrintableJSON

Details

    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: