We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5427c0 commit e5666f3Copy full SHA for e5666f3
alloc/src/macros.rs
@@ -48,8 +48,8 @@ macro_rules! vec {
48
);
49
($($x:expr),+ $(,)?) => (
50
<[_]>::into_vec(
51
- // Using the intrinsic produces a dramatic improvement in compile
52
- // time when constructing arrays with many elements.
+ // Using the intrinsic produces a dramatic improvement in stack usage for
+ // unoptimized programs using this code path to construct large Vecs.
53
$crate::boxed::box_new([$($x),+])
54
)
55
0 commit comments