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

Create NamespaceString serializer that accepts a BSONObjBuilder and use it for IDL

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch

      Our current NamespaceString serializer allocates and returns a new string. We should build a serializer that accepts a BSONObjBuilder and have our IDL codegen use it. This would avoid any extra memory allocations.

      Backtrace is from a load_test flamegraph here.

            Assignee:
            Unassigned Unassigned
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: