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 43a3713 commit c883845Copy full SHA for c883845
src/safe-guides/coding_practice/fn-design/G.FUD.01.md
@@ -4,7 +4,7 @@
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
**【反例】**
0 commit comments