We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c4ae0 commit 63c6e8aCopy full SHA for 63c6e8a
src/safe-guides/coding_practice/fn-design/G.FUD.01.md
@@ -4,7 +4,8 @@
4
5
**【描述】**
6
7
-为了提升代码可读性,函数的参数最长不宜超过五个。
+为了提升代码可读性,函数的参数最长不宜超过五个。根据编译器函数调用规范[[1](https://www.cnblogs.com/shines77/p/3788514.html)][[2](https://learn.microsoft.com/zh-cn/cpp/build/x64-calling-convention?view=msvc-170)],较少的参数个数编译器优先使用寄存器,所以
8
+存在性能收益的可能性。
9
10
**【反例】**
11
0 commit comments