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

Make IDL field serialization check debug only

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

      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@mongodb.com Erin McNulty
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: