Make IDL field serialization check debug only

XMLWordPrintableJSON

    • Service Arch
    • Fully Compatible
    • Service Arch 2023-10-30, Service Arch 2023-11-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When IDL serializes a class to BSON, it checks all the required fields are initialized. This check is a cheap runtime check but a more expensive check in terms of storage. It should be made debug only to save memory since due to padding it can cost up to 8 bytes.

              Assignee:
              Erin McNulty
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: