Whilst working on #22, I found some cases where C++ containers may not be performing as well as they could:
- std::vectors of std::unique_ptr where not necessary
- std::vectors not reserved up front
- push_back used instead of emplace_back
These could increase the number of allocations happening, though may not be an issue depending on how much they are used. Raising this ticket to capture this in future.
Whilst working on #22, I found some cases where C++ containers may not be performing as well as they could:
These could increase the number of allocations happening, though may not be an issue depending on how much they are used. Raising this ticket to capture this in future.