08 June 2023
Previous posts
- > CppCoreGuidelines Per.11 把计算从运行时转移到编译时
- > 单词本:excruciatingly
- > CppCoreGuidelines Per.10 依托于类型系统进行自动优化
- > CppCoreGuidelines Per.7 设计之初就要考虑优化
- > CppCoreGuidelines Per.6 没有测量不要声明性能
- > CppCoreGuidelines Per.5 底层代码不一定比高层代码快
- > CppCoreGuidelines Per.4 复杂代码并不一定比简单代码快
- > CppCoreGuidelines Per.3 非性能关键之处,无需优化
- > CppCoreGuidelines Per.2 不要过早的进行优化
- > CppCoreGuidelines Per.1 没有理由不要优化
- > CppCoreGuidelines ES.107 不要用无符号类型做下标,使用 gsl::index
- > CppCoreGuidelines ES.106 避免赋值负数给无符号类型
- > 单词本:grok
- > CppCoreGuidelines ES.105 不要除以整数 0
- > CppCoreGuidelines ES.104 避免向下溢出
- > CppCoreGuidelines ES.103 不要产生溢出
- > CppCoreGuidelines ES.102 数值计算用有符号类型
- > 单词本:ammunition
- > CppCoreGuidelines ES.101 在进行比特位操作的时候用无符号类型
- > CppCoreGuidelines ES.100 有符号、无符号类型不要混合在一起计算