We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edadb98 commit 212caeaCopy full SHA for 212caea
mojo/stdlib/src/collections/inline_array.mojo
@@ -132,9 +132,12 @@ struct InlineArray[
132
133
@always_inline
134
@implicit
135
- fn __init__[batch_size: Int = 100](out self, fill: Self.ElementType):
+ fn __init__[batch_size: Int = 64](out self, fill: Self.ElementType):
136
"""Constructs an empty array where each element is the supplied `fill`.
137
138
+ Parameters:
139
+ batch_size: The number of elements to unroll for filling the array.
140
+
141
Args:
142
fill: The element to fill each index.
143
"""
0 commit comments