Open main menu

CDOT Wiki β

Changes

Team Darth Vector

354 bytes added, 22:09, 14 December 2017
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>
129
edits