...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Element C | float_sort | std::sort |
4000 | 0.000241 | 0.00044 |
8000 | 0.000508 | 0.000968 |
16000 | 0.001025 | 0.00213 |
32000 | 0.00214 | 0.00461 |
64000 | 0.00492 | 0.0095 |
128000 | 0.01505 | 0.0208 |
256000 | 0.0266 | 0.0434 |
512000 | 0.0574 | 0.0918 |
1024000 | 0.1255 | 0.1915 |
2048000 | 0.282 | 0.397 |
4096000 | 0.604 | 0.834 |
8192000 | 1.263 | 1.752 |
16384000 | 1.732 | 3.766 |
32768000 | 3.531 | 7.548 |
65536000 | 7.251 | 15.633 |