@@ -205,17 +205,13 @@ end
205205 alloc_test (() -> MA. mutability (y, MA. add_mul, y, A, x), 0 )
206206 end
207207
208- # 40 bytes to create the buffer
209- # 8 bytes in the double for loop. FIXME : figure out why
210- # Half size on 32-bit.
211- n = Sys. WORD_SIZE == 64 ? 48 : 24
212- alloc_test (() -> MA. add_mul!! (y, A, x), n)
208+ alloc_test (() -> MA. add_mul!! (y, A, x), BIGINT_ALLOC)
213209 alloc_test (
214210 () -> MA. operate_fallback!! (MA. IsMutable (), MA. add_mul, y, A, x),
215- n ,
211+ BIGINT_ALLOC ,
216212 )
217- alloc_test (() -> MA. operate!! (MA. add_mul, y, A, x), n )
218- alloc_test (() -> MA. operate! (MA. add_mul, y, A, x), n )
213+ alloc_test (() -> MA. operate!! (MA. add_mul, y, A, x), BIGINT_ALLOC )
214+ alloc_test (() -> MA. operate! (MA. add_mul, y, A, x), BIGINT_ALLOC )
219215 # Apparently, all allocations were on creating the buffer since this is allocation free:
220216 buffer = MA. buffer_for (MA. add_mul, typeof (y), typeof (A), typeof (x))
221217 alloc_test (() -> MA. buffered_operate! (buffer, MA. add_mul, y, A, x), 0 )
0 commit comments