Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Service Arch
-
Fully Compatible
-
Service Arch 2023-10-30, Service Arch 2023-11-13
Description
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.