Actions
Feature #4183
closedOptimize Name::append with inplace Component construction
Start date:
07/12/2017
Due date:
% Done:
0%
Estimated time:
1.50 h
Description
Currently, Name::append operates as:
- Construct a
Component. - Add it as a sub-element into Name's underly
Block.
This incurs a copying of the Component (same type as Block).
This procedure can be optimized as:
- Introduce a
Block::emplace_backmethod that construct aBlockin-place at the end ofm_elements. - Call
m_wire.emplace_backfromName::appendoverloads where applicable.
Actions