Loading

realize

原句:

In other words, if you optimize 20% of your code, you can potentially realize 80% of all the gains in execution speed you’ll ever realize.


单词解释:

1. realize

这个词在这里不是“意识到”,而是它的另一个意思:

实现 / 达成 / 获得(某种效果、收益)

比如:

  • realize a goal = 实现目标
  • realize a profit = 获得利润

在这里指的是:实现性能提升


2. gains

收益 / 提升 / 增益

在技术语境里,通常指:

  • 性能的提升(performance gain)
  • 速度的提升(speed gain)
  • 优化带来的好处

所以:gains in execution speed
= 在执行速度方面的提升


3. execution speed

程序运行速度 / 执行速度

也可以理解为:

  • 一段代码运行得有多快
  • 比如原来运行 5 秒,优化后变成 1 秒,那就是 execution speed 提高了 5 倍

整句翻译:

换句话说,如果你优化了 20% 的代码,就有可能实现你所能获得的所有执行速度提升的 80%。

或者更口语一点:

换句话说,只要你把那 20% 的关键代码优化好,就可能拿到 80% 的性能提升


技术理解小结:

词汇 中文意思 技术含义
realize 实现 得到性能提升的效果
gains 提升 / 收益 优化带来的“跑得更快”或“更高效”
execution speed 执行速度 程序运行的快慢
posted @ 2025-03-23 23:31  BaguetteShimada  阅读(20)  评论(0)    收藏  举报