-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: IDL, Performance
-
Service Arch
-
Fully Compatible
-
v8.0
-
Programmability 2024-05-27
-
200
IDL-generated setters for string fields always accept a StringData parameter, but the underlying struct data member is a std::string, so setting always requires a copy. We should also generate setters that allow moving or passing rvalues std::strings to avoid always having to copy the argument.
- related to
-
SERVER-90843 Remove unnecessary conversions to StringData when calling IDL setters
- Closed