Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~130 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for OliverW

I'm adding about 25,000 objects to a vector and it's taking too long so I wanted to try and speed it up. Currently I'm adding them in the format: [CODE]vector<MyClass> MyVector; MyVector.push_back(MyClass(Param1, Param2, Parm3, Param4));[/CODE] As I understand this would involve creating two instances of the object and copying one …

Member Avatar for Clinton Portis
2
130