Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Service Arch
-
3
Description
Since SerializationContext is in every generated IDL class, reducing its size is benefical
It could easily be collapsed to 4 bytes by just marking the enums as uint8_t.
(gdb) ptype /o mongo::SerializationContext
|
/* offset | size */ type = struct mongo::SerializationContext {
|
private:
|
/* 0 | 4 */ mongo::SerializationContext::Source _source;
|
/* 4 | 4 */ mongo::SerializationContext::CallerType _callerType;
|
/* 8 | 4 */ mongo::SerializationContext::Prefix _prefixState;
|
/* 12 | 1 */ bool _nonPrefixedTenantId;
|
/* XXX 3-byte padding */ /* total size (bytes): 16 */
|
}
|
Attachments
Issue Links
- is depended on by
-
SERVER-80364 Use original request's SerializationContext in FindKeyGenerator::reparse
-
- Closed
-