Evaluate the feasibility of replacing the std::unique_ptr decorations with boost::optional decorations

XMLWordPrintableJSON

    • 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.

        1. Decorations.csv
          12 kB
          Alex Li
        2. decorations.tar.gz
          19 kB
          Alex Li

            Assignee:
            Alex Li
            Reporter:
            Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: