129
edits
Changes
Added gist before code
''If only you knew the power of the Building Blocks''
Using the code below, we will test the speed at completing some operations regarding vectors using the stl library with stl's <u>'''vector'''</u> and tbb's <u>'''concurrent_vector'''</u>.
The code below will perform a "push back" operation both in serial and concurrent. Then, it measure the time taken to complete an '''n''' of push back operations.
<nowiki>
#include <iostream>