Skip to content

Commit

Permalink
fix typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
Knight-ZXW committed Dec 22, 2022
1 parent ade7173 commit 06d0207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic_content/inline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int main()
内联能提高函数效率,但并不是所有的函数都定义成内联函数!内联是以代码膨胀(复制)为代价,仅仅省去了函数调用的开销,从而提高函数的执行效率。
- 如果执行函数体内代码的时间相比于函数调用的开销较大,那么效率的收货会更少
- 如果执行函数体内代码的时间相比于函数调用的开销较大,那么效率的收获会更少
- 另一方面,每一处内联函数的调用都要复制代码,将使程序的总代码量增大,消耗更多的内存空间。
Expand Down

0 comments on commit 06d0207

Please sign in to comment.