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

Use a no-op buffer to avoid allocating memory when checking invalid UTF-8 characters

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-09-05

    Description

      Right now we passed in a string to use as a buffer that we don't really need. We can create a light-weight no-op buffer to avoid writing out unnecessary data.

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: