1.编译时,选项O1/O2/O3优化,分别代表什么?https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
在VS中,一般Debug会有很多冗余的调试代码,默认是禁止优化的,Release是默认O2优化的。几个选项含义如下:
- O1:文件大小最小
- O2:速度最快
- Ox:这个模式下,兼顾文件大小与速度,可能牺牲兼容性
参考:https://blog.csdn.net/weixin_42929607/article/details/106248798
2.oneTBB(one API Threading Building Blocks)
编译条件:Intel Core+Win10+VS2017,这是一种可能的配置方式。
相关文档:https://software.intel.com/content/www/us/en/develop/documentation/onetbb-documentation/top.html
https://blog.csdn.net/kezunhai/article/details/44678845