We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e02d07 commit e78ddd1Copy full SHA for e78ddd1
1 file changed
src/inlining.md
@@ -1,8 +1,9 @@
1
# Inlining
2
3
Entry to and exit from hot, uninlined functions often accounts for a
4
-non-trivial fraction of execution time. Inlining these functions can provide
5
-small but easy speed wins.
+non-trivial fraction of execution time. Inlining these functions removes these
+entries and exits and can enable additional low-level optimizations by the
6
+compiler. In the best case the overall effect is small but easy speed wins.
7
8
There are four inline attributes that can be used on Rust functions.
9
- **None**. The compiler will decide itself if the function should be inlined.
0 commit comments