-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Service Arch 2022-09-19, Service Arch 2022-10-03
(generated by SA onsite)
There may be places in the Decoration system that are inefficient in a significant way, particularly the Decorations on OperationContext which are created and destroyed very quickly.
One idea was to elide the invocation of trivial destructor callbacks entirely. Instead of invoking a no-op function pointer, allow it to be nullptr and don't invoke anything.
- related to
-
SERVER-76788 Elide useless constructor calls for trivially-constructible Decorations
- Closed