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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: