Skip to content

Commit 57c599e

Browse files
committed
Smaller batch_size in the InlineArray(fill) constructor
Signed-off-by: Manuel Saelices <msaelices@gmail.com>
1 parent bb401c4 commit 57c599e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mojo/stdlib/src/collections/inline_array.mojo

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ struct InlineArray[
141141
_inline_array_construction_checks[size]()
142142
__mlir_op.`lit.ownership.mark_initialized`(__get_mvalue_as_litref(self))
143143

144-
alias batch_size = 1000
144+
alias batch_size = 100
145145
alias unroll_end = math.align_down(size, batch_size)
146146

147147
for i in range(0, unroll_end, batch_size):

0 commit comments

Comments
 (0)