[
https://issues.apache.org/jira/browse/TUSCANY-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Geoff Winn resolved TUSCANY-1139.
---------------------------------
Resolution: Fixed
All cases changed as described
> [SDO for C++] Use x.push_back(y) rather than x.insert(x.end(), y)
> -----------------------------------------------------------------
>
> Key: TUSCANY-1139
> URL: https://issues.apache.org/jira/browse/TUSCANY-1139
> Project: Tuscany
> Issue Type: Improvement
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: All
> Reporter: Geoff Winn
> Assigned To: Geoff Winn
> Fix For: Cpp-current
>
>
> There are numerous places in the code where an item is appended to the end of
> a list or vector using code similar to
> vector.insert(vector.end(), new_item);
> This is less efficient than the preferred form which is
> vector.push_back(new_item);
> The performance impact of this is visible on Linux platforms using callgrind.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]