-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch 2023-04-17, Service Arch 2023-05-01
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
When a decorable object is instantiated, the associated DecorationContainer allocates the necessary space for all the decorations at once. However, the codebase currently contains a large number of decorations whose type is a std::unique_ptr. This defeats the purpose of allocating all decorations together and introduces a performance penalty.
We need to go over all of these decorations and evaluate the feasibility of changing their type from std::unique_ptr to boost::optional.