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

ItoA should be able to write to a user-supplied buffer

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch
    • ALL

    Description

      This has come up in a few unrelated code changes.
      Sometimes we have a mutable span of char and it would be more efficient to write directly into it than to write into an ItoA object's buffer and memcpy it out.
      The ItoA algorithm should be separated from its buffering representation.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: