»
(008) CubeIDE Implementation of USB Peripherals*
(018) C99 pointer*
(019) C99 With only value assignment*
(022) POSIX pthread multi-threads mutex*
(023) POSIX pthread multi-threads programming*
(027) C99 time and wait*
(028) High-precision calculation with GMP*
(029) Web Service Lib*
(030) International Components for Unicode (ICU)*
(031) Performance of C is higher than C++, because...*
🕹️(001)函数调用被优化
C或者C++编译器编译代码时,可以选择-O*优化。最常见的是-O3优化。这也是STM32CubeIDE默认采用的优化级别。 代码开发过程中的重要知识——我总结的O3优化的重要一条: 返回值未被接收的、未修改任何外部变量的、纯逻辑内容的函数的调用会被O3优化。