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 90d0bf6 commit f76bfccCopy full SHA for f76bfcc
content/inside-rust/call-for-testing-hint-mostly-unused.md
@@ -71,6 +71,10 @@ substantial swath of the API). Always do performance analysis when considering
71
this hint, and only apply it if it applies obvious and substantial wins for
72
your users.
73
74
+If most of the items in your crate are polymorphic (generic), this hint may be
75
+redundant, as Rust already defers compilation of polymorphic items until they
76
+get monomorphized with specific types.
77
+
78
Also note that this only provides a performance win if you are rebuilding the
79
dependency. If you're only rebuilding the top-level crate, this won't help.
80
0 commit comments