Skip to content

Fast performance degradation #27

Closed
@hia3

Description

@hia3

As #26 shows there is no clear correlation between number of inserted elements and performance of std::vector::push_back.

This is not the case for deferred_vector. More elements inserted - more time it will take to insert another one. For example, when there are 25 (cell A2) elements inserted, it is only 36 (cell C2) times slower than insertion into vector<scoped_ptr>, but if there are 4975 (cell A200) elements, it is 1498 (cell C200) times slower.

Inserting 1 million elements into deferred_vector will probably take N days.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions