Skip to content

Conversation

gyb997
Copy link
Contributor

@gyb997 gyb997 commented Apr 19, 2025

加入 较少参数,存在性能收益可能性 的解释
原因如下
1,rust编译的 硬件指令对于较少函数参数会优先使用寄存器(大部分如此)
2,ffi 类型的函数,有明确规范定义

加入 较少参数,存在性能收益可能性 的解释
原因如下
1,rust编译的 硬件指令对于较少函数参数会优先使用寄存器(大部分如此)
2,ffi 类型的函数,有明确规范定义
补充调用规范
@ZhangHanDong
Copy link
Contributor

感谢贡献

@ZhangHanDong ZhangHanDong merged commit 63c6e8a into Rust-Coding-Guidelines:main Apr 23, 2025
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants