To run the application you built:
- Run the application as you would normally. When run, the program outputs a long list of length and location pairs.
- Optionally, to compare the performance of this example to a sequential version, you can build and run the extended version of the SubStringFinder example located in the Intel® Threading Buildings Blocks examples/GettingStarted folder as sub_string_finder_extended.cpp. This extended example calculates and displays the speedup obtained by using Intel Threading Building Blocks to parallelize the algorithm compared to performing the same work sequentially.
Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.